How do I set up an automation rule in Jira to "Resolve" an issue two weeks after creation?

Lyndsay Bird June 28, 2023

I need to know how to build an automation rule where the following things apply:

  1. Applicable to a certain Component
  2. Starts when the issue is assigned to a user (not unassigned)
  3. "Resolves" the ticket with the "Resolution" set, 2 weeks (14 days) after the rule starts AND the Status is in "To Do" OR unchanged

I've tried to do this by myself, but I can't seem to find the right actions.

Thanks

 

1 answer

1 accepted

0 votes
Answer accepted
Jehan Bhathena
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 28, 2023

Hello @Lyndsay Bird ,

I understood the first 2 points that you mentioned, but I'm a little confused about the third point. You want to RESOLVE issues that have been sitting idle for the last 2 weeks? Or issues that are in To-Do and not resolved in the last 2 weeks?

Also, would this fit your use case :

* Condition: STATUS = TO-DO AND UPDATED >= -2w

* Action: TRANSITION ticket to "RESOLVED"

Lyndsay Bird June 28, 2023

Thank you, Jehan.

Yes, I want to RESOLVE issues that have been sitting in To-Do and not resolved in the last 2 weeks SINCE it was assigned. 

Would you know what I should add to ensure it's on a certain Component? We have multiple Components in the project but only need the rule for one of them.

Thanks,

Jehan Bhathena
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 28, 2023

Hello again,

Want to clarify on a point, If a ticket is sitting in To-Do the resolution by-default is going to be unresolved, so are you looking for tickets in To-Do and not updated for 2 weeks after they have been assigned?

Also, adding the component to the condition is fairly simple, we can use that in the Condition value as it is :-)

Jehan Bhathena
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 28, 2023

Hi @Lyndsay Bird ,

Try this rule and see if it works

image.png

This rule will shortlist issues that are in TO-DO for the last 2 weeks, with a certain component.

"Action" transitions all the tickets found to DONE in my example, can be changed to a different one in your use case.

Lyndsay Bird June 30, 2023

Thank you, @Jehan Bhathena

That rule worked for the status. What would the rule look like if we added the condition of having it transition to "RESOLVED" 2 weeks after it was assigned AND it's in the "To Do" status?

Thanks

Jehan Bhathena
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 1, 2023

Hi,

Glad to know the rule worked for you, for the last query you had perhaps this will help:

NOT status CHANGED TO "Resolved" 
Like Lyndsay Bird likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events