Hi there,
I hope someone can help me on this one. I tried pretty much everything but i can't make it to work.
I have a board with statuses like: Open, In progress, Waiting for customer, Done. Because of the nature of the work, we still allow the reporters to reopen tickets, but if the time since moving it to DONE exceeds say 6 weeks, i would like to not allow reopening those tickets.
My workflow is very basic, i pretty much allow free movement between statuses.
What i tried:
Created a new transition from DONE to OPEN and tried to add a condition / validator, but i can't fine one that suits my use case.
Thanks a lot in advance for your help!
Hello @Dan Macarie
Welcome to the Atlassian community.
Are you working with a workflow in a Team Managed project or a Company Managed project?
I don't think there is a native Condition or Validator that will meet your requirement. It could be done with a third party app. Are you willing to consider a third party app?
If not, then you would need to create a customization to achieve your goal.
The date an issue is transitioned to each specific status is not recorded in fields you can access. You could either use a custom field to record the date an issue transitions to the Done status, setting that field using an Automation Rule, or you could reference the date the Resolution field was set, which is recorded in the Resolved field.
In your workflow transition you could then use the Date Compare Validator on the transition to confirm that date field value is less than 6 weeks in the past.
If your workflow currently has all global transitions, you would have to eliminate those. Otherwise even with a specific transition from Done to the statuses representing "reopened" would still be bypassed using the global transitions.
Hey Trudy,
Thanks a lot for your answer!
It's a company managed project.
I will give your solution a try and update here how it turned out.
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.