Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automation

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

Hi @Peter ,

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.

Thanks! 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

107 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you