Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Display custom field value from a jql result in jira cloud

AbrahamA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 3, 2023

Hello

Do you have a script sample to display custom field value from each issue of jql search result.

Can you please give some pointers.

 

Thanks

Abe

2 answers

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 4, 2023

This script does most of what you need - https://library.adaptavist.com/entity/calculate-sum-of-fields?tab=cloud

You will need to replace the "find issues from their parent issues" with your JQL search, but the rest of it should work find for you.

0 votes
Jack Brickey
Community Champion
May 3, 2023

Hi @AbrahamA , I'm guessing that you want something different than simply a JQL statement that presents a list of issues and that list includes a column for your custom field? I'm not quite sure what you're asking for here. Maybe you could elaborate?

AbrahamA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 3, 2023

Helo Jack

 

Thanks for the response

I need to sum values in a particular custom field for all issues that match a condition. This is my requirement.

 

Thanks

Abe

Jack Brickey
Community Champion
May 3, 2023

I would export to Excel and sum. The official extension for excel would make it easy to do this too. In case you prefer Google apps - jira-cloud-for-google-sheets-official 

AbrahamA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 3, 2023

I have scriptrunner, so I am looking for script route

Jack Brickey
Community Champion
May 4, 2023

I see. I have added "Scriptrunner" tag to your post.

Suggest an answer

Log in or Sign up to answer