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
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
👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...
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