Finding the largest number using Automation

Dominic Mercorelli April 17, 2023

All, 

I am in need of run an automation task, that uses a JQL that returns all my epic within the last six months. Then I want to be able to increment through those epics, in order to find the largest number that is contained in a specific field.

FYI, this field is a short text field, as I don't want the commas to be shown. 

What would be the best way to go about doing this?

1 answer

1 accepted

0 votes
Answer accepted
Bill Sheboy
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.
April 17, 2023

Hi @Dominic Mercorelli 

Please try using the Lookup Issues action with JQL to access your issues, and the max function on your field: {{lookupIssues.myCustomField.max}}

To possible limits of this technique are Lookup Issues can only access up to 100 issues, and you note using a short text field (rather than a numeric field)...so there could be sort-related impacts.

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events