JIRA Workflow - enforcing a wait time between statuses

We have put together a 34 step decommissioning workflow in JIRA. There are 2 steps that we need to enforce a delay to ensure there is sufficient time for feedback before skipping on to the next step.

For example, if step 5 is disable application front-end, the workflow should prevent anyone from advancing the issue to step 6 until at least 2 weeks has passed.

What is the best way to achieve this?

3 answers

This widget could not be displayed.

Very interesting question. And a 34-step workflow? I would love to learn more! You can email me at jleader@go2group.com

Here's my first idea on how to hack this. I'd use the JIRA Workflow Toolbox to store the current datetime into a custom variable during a transition:

Then I would add a condition from the same plug-in to the transition I wanted to delay:

Then you can compare the current datetime with the stored datetime. I agree that there may be other ways to do this, but this seems like a simple foolproof way.

You can find more information about how to code for this in an example on their website:

Good luck! 34 steps??? Do you at least have different views in a Kanban board for the different stages of the workflow?

Kerrin,

Did you find a solution?

This widget could not be displayed.

You need a condition that can look at the date of the last transition and block the next one until the time has passed.

There isn't one of these in Jira and I've not seen one in any plugins, so you need to have a look through the marketplace for one in case I've missed it, but probably write your own. As usual, I'd recommend a look at the script runner plugin to make it easy to write your own.

This widget could not be displayed.

Hi,
You can do it , but you must use one of scripting plugins like JJUPIN, JSS or groovy.
In our company we use JJUPIN to add an execution condition in transition like your need.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

54 views 1 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you