Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Automation related issues condition match JQL throws errors when checking for null/empty value

Syd Heller
Contributor
June 14, 2024

Hi all,

 

I have an Automation and I am trying to check on related issues that also meet another criteria (that they are not closed) but I am having trouble with the Matching JQL field.

Does anyone have any ideas what JQL I could use here?

Screenshot 2024-06-14 at 9.07.33 AM.png

2 answers

1 accepted

3 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.
June 14, 2024

Hi @Syd Heller 

The "matching JQL" for that Related Issues condition must be well-formed JQL.  That is...

<some_Jira_field> <some_operator> <some_value> ...and so on

{{issue.resolution}} cannot be on the left-hand side of the JQL as that would try to compare a value to another value.

Please try this instead:

resolution IS EMPTY

 

Kind regards,
Bill

Syd Heller
Contributor
June 14, 2024

Yup that worked, amazingly simple, thanks!

Like Bill Sheboy likes this
0 votes
Nicolas Grossi
Banned
June 14, 2024

@Syd Heller Could please elaborate ? What errors are you getting ? Also Resolution is empty is different than Issues not closed .

 

Nicolas

Syd Heller
Contributor
June 14, 2024

Sure, apologies, here is the error I get:

Screenshot 2024-06-14 at 12.31.41 PM.png

Sure, they are not the same. For us, Resolution is empty would be sufficient, or Issue is not "Done" or "Declined" would work too if it's easier.

Thanks for the help!

Nicolas Grossi
Banned
June 14, 2024

@Syd Heller Are you sure that the issue EJ-323 meets the criteria ?

 

Nicolas

Syd Heller
Contributor
June 14, 2024

I don't know, because it throws that JQL error

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events