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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,460,735
Community Members
 
Community Events
176
Community Groups

Auto-transition on issue when a date occured

Hello,

I'm working with a brand new workflow in Jira Service Desk. When a particular status is reached, I need to set a date counter (i.e. 30 days) automatically. Then, when counter reaches 0 days, I need to make a transition to another status automatically. 

Is there any way to do it ? ...better without paid plugins :)

 

2 answers

1 accepted

1 vote
Answer accepted
John McKiernan Marketplace Partner May 10, 2018

Hi Nico,

Yep this is definitely possible through Automation for Jira (and unpaid too ;) 

First you need to install Automation for Jira Lite (server or cloud version)

You need to set up two rules. 

Rule 1 sets the date on the transition (Sets the counter running)

When = Issue Transitioned 

If: Issue matches JQL, status = "In Progress"

Then: Edit issue fields - due date = {{#now}}func=plusDays(30){{/}}

Screenshot 2018-05-11_14-46-38.png

 

Rule 2 - Transitions when due 

 

When: Scheduled 

*fixed rate of every 1 Day, run a JQL search with 'duedate <= 0d and duedate > -1d'

Then: Transition to Done 

Screenshot 2018-05-11_14-54-32.png

 

 

Hope that helps. Feel free to reach out if you have any other questions! 

Cheers,

John 

wow, you have been very clear! :)

I don't understand why the AND condition is necessary but i'm going to try it immediately

Thanks!!

hello John,

finally I tested the rules. Rule 1 is ok. Rule 2 is ok too, but I tested without the AND condition, so the after the first time the rule was runned successfully, then it is gone into error. 

I think it depends by the AND condition, so i'm going to tune it.

thanks again

Wow! This is great and exactly what I was looking for

Like John McKiernan likes this

Hi there, 

 

I am looking for something similar to the above but haven't came up with a solution. I need all issues in a status to transition on a certain day (i.e every Wednesday evening) and for this to occur every week. Is there anything like this that could be achieved with Automation plugin? Any help much appreicated

 

Thanks

Sorry ignore the previous question, for anyone looking to an answer to that it can be achieved using a CRON expression in the Automation for Jira plugin

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events