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

Automation

Peter Knaus August 18, 2020

I'd like to set up an automation for the following example:

If an issue type is created i want it automaticly to be set up with the priority "medium" (thats no problem and worked out well) 

 

Then i want there to be an automation that raises the priority to high after x weeks if nobody worked on it ( updated it) and automaticly raise to the highest after following x weeks. 

I tried it with a scheduled trigger: 

updated <= "-Xw" and priority = medium and status != DONE  + a cron to run daily. 

Didn't seem to work...

1 answer

0 votes
Rudy Holtkamp
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 18, 2020

Hi @Peter Knaus ,

This should work (if X=3):

priority = medium and updated <= -3w and resolution is empty

So you might want to remove the quotes around -Xw.

image.pngAlso use 'Validate query' to check if your JQL returns something. Then use 5 minutes to trigger to see if things work, if so change it back to daily triggering.

Tip: If you use post-functions to set the resolution when an issue is done/rejected/duplicate then it is best-practice to use resolution in your JQL.

Peter Knaus August 18, 2020

Thanks! 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events