I have this automation rule:
When an issue type transition from a set of statues to Ready and
an if condition that matches this JQL:
issueLink = {{issue.key}} AND "Tags[Labels]" = Stop AND status NOT IN (Duplicate, "Won't fix", Ready) ORDER BY created DESC
if all this conditions are met, a comment should be added and transition the issue to the New status.
When I run the jql on the issue list, the automation should work on one issue. But I keep getting this error below
Action details:
["10157"]
The following issues passed:
EQ-20918
The following issues did not match the condition:
EQ-20918
Hi @Adeleke Adefabi ,
First of all, you might want to remove your site name in your post.
Next, if you run:
issueLink = EQ-20918 AND "Tags[Labels]" = Stop AND status NOT IN (Duplicate, "Won't fix", Ready)
As query do you get an issue as response?
Thank you for that, it was an error..and to the question, yes one issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't see anything wrong with the JQL.
But perhaps you can replace the JQL in the rule for: issueLink = EQ-20918 AND "Tags[Labels]" = Stop AND status NOT IN (Duplicate, "Won't fix", Ready)
And test again.
And/Or add a log action before the if statement with:
issueLink = {{issue.key}} AND "Tags[Labels]" = Stop AND status NOT IN (Duplicate, "Won't fix", Ready) ORDER BY created DESC
(Note that the 'ORDER BY' clause does not matter and can be removed.)
And why do you use an if/else statement. You also could use two if statements sequentially.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Used the first JQL: issueLink = EQ-20918
And restructure the automation rule.
Got the following errors...
And I have no issue security setup on the project
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.