I have a status "Closed" (resolution field: done) and a status "Planned" (resolution field: open). If a card has been placed in the "Closed" status, and after some time has expired, the developer reopens the card by changing the status to "planned", I want the validation to fail the status change IF the issue has been updated more than 30 days ago.
I've tried both the Date Compare Validator and the Date Window Validator options, but I'm definitely doing it wrong and running out of old issues to test. Please assist :)
Welcome to the community!
I am the product manager at Bob Swift Atlassian Apps (an Appfire company).
Create on Transition for Jira Cloud's Conditioned Validator should be able to help you get this done. You can use the following Jira expression and give an appropriate error message while configuring the validator.
issue.updated > new Date().minusDays(30)
This will return true if the issue has been updated in the last 30 days, return false if the issue has been updated more than 30 days ago and thereby failing the validation.
Please let me know if you have any questions.
Thanks for checking. I have reviewed this in validator configuration and it is possible without the plugin too through the following configuration:
Hope this helps. Please let me know if you have any questions.
Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...
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