Forums

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

Resolved -> closed state after 10 days Jira automation

Rajan Dangol
Contributor
July 22, 2024

Hi,

 

I am trying to create a Jira automation that automatically moves resolved tickets into closed after 10 days (see attached). When I validate the JQL, i can see that its returning the values. However, I get the following error:

 

"Can't run component as it requires issue(s) in the context. More than likely you have a trigger that doesn't insert issues into the rule chain. e.g. Scheduled rule not running a JQL query. Creating an issue does not put an issue into the context, you have to branch on it to update it."JQL error.png

1 answer

1 accepted

4 votes
Answer accepted
Tessa Tuteleers
Community Champion
July 22, 2024

Hi @Rajan Dangol , 

This particular trigger has an (easily overlooked) component right at the bottom of it. 

Instead of adding a condition (issue matches JQL), you need to add the JQL filter directly in the trigger part. 

Screenshot 2024-07-22 111147.png

Hope this helps! 

- Tessa

Rajan Dangol
Contributor
July 22, 2024

Thanks Tessa, working :)

-Rajan

Like Tessa Tuteleers likes this
Nikka
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 10, 2024

Thank you for this. But I'm still having trouble. Validating my JQL query shows 2 issues found. But when I run the rule there's no error anymore but it says no related issues could be found. 

Tessa Tuteleers
Community Champion
October 18, 2024

Hi @Nikka , 

welcome to the community! 

Please add screenshots of your rule so we can help you decipher it :) 

Cheers, 

Tessa

Suggest an answer

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

Atlassian Community Events