Hi,
One of my stakeholders would like a condition set on some of the statutes on their workflow, ie can only move to status 3 if they have been in status 2 for a week, then only move to status 4 if been in status 3 for a day.
Is there anyway to add a condition in the workflow for this. We have scriptrunner plugin
They would also like to set the due date at the same time, so they know when it can move to the next status
We are on Data Centre
Hey @Collette Gray - Did you ever get this to work for you?
Yes, a condition in the workflow is simple to add and write, edit the workflow, find the transition, hit the conditions list and add one. Select scripted condition and you'll be able to edit the script.
A condition just needs to return a true or false to Jira (true = "allow the transition"), so there's not a lot of calculation needed.
See https://library.adaptavist.com/entity/calculate-the-working-days-between-two-dates as an example of how to work with date fields
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.