Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,360,280
Community Members
 
Community Events
168
Community Groups

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

0 votes

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 Atlassian Automation

Jira Automation: Sum Up Story Points Roundup (Initiatives -> Epics -> Story/Tasks -> Subtasks)

Hi Everyone, In this roundup we combine all the jira automation rules to sum up story points across different issue types. We start from the lowest level, summing up story points from sub-tasks t...

3,103 views 10 9
Read article

Atlassian Community Events