Forums

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

Jira Automation Rule

Nicolas Andika
Contributor
September 19, 2024

Dear all,

i want to create automation with related issue condition like in this photo Screenshot 2024-09-19 at 13.57.59.png

but when i create issue and i fill the fix version with "release 2" and "release 3" and when the jql search the issue, it shows some error like this, 

Screenshot 2024-09-19 at 14.33.57.png

i already use operator "IN" but they recognize the release 2 and release 3 as a same name cannot be separated, 

anybody knows how to fix it?

Thankyou

3 answers

0 votes
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.
September 19, 2024

Hi @Nicolas Andika 

Will your trigger issue always have Fix Version values for the comparison in the JQL?

If so, please try this to iterate over the values and create the list of version names:

fixVersion IN ( {{#issue.fixVersions}}"{{name}}"{{^last}}, {{/}}{{/}} ) 

If you also need to handle the case when the trigger issue has no Fix Version values, what should be checked for that case?

Kind regards,
Bill

0 votes
Kishan Sharma
Community Champion
September 19, 2024

Hi @Nicolas Andika 

Please check if the below JQL works for you -

fixVersion IS NOT EMPTY and status NOT IN (Done,Closed) and type != "Deployment Ticket"

0 votes
Nicolas Andika
Contributor
September 19, 2024

i also tried this jql Screenshot 2024-09-19 at 15.25.59.png

it works but, when the release is empty they still read it, how to not read it?

Screenshot 2024-09-19 at 15.27.12.png

Ashish Bijlwan
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.
September 19, 2024

Hi @Nicolas Andika 

Try below automation, you need to change if: issue matches JQL in your automation as fixversion is not empty and status not in (Done, Closed) and type != "Deployment Ticket" and Project = "Project Key"
image.png

 

Kindly try and let me know if you face any issue.

 

Thank you,
Ashish

Suggest an answer

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

Atlassian Community Events