Good Day
I am trying to restrict tasks from being moved to Closed if they are in an open sprint. Is this possible to have as a validator or condition on that transition?
Please any help is appreciated.
Thanks and Warm Regards
Liam Maeder
*Edit: Amended spelling mistake*
Hi Liam,
If you have the JMWE app, you can use the Scripted (Groovy) Validator/Scripted Groovy condition of the app to check that the issue is in an open sprint. The app has an inbuilt editor help that will help you in writing the one line Groovy script to check the status of the Sprint the issue belongs to. Something like this:
!(issue.get("Sprint").any{it.isActive()})
Regards,
Radhika
Hi @Liam Maeder
The commercial plugins scriptrunner (https://scriptrunner.adaptavist.com/5.5.7/jira/builtin-scripts.html#_jql_query_condition) and JWT (https://apps.decadis.net/display/JWT/Condition+and+validation+based+on+JQL+query) has conditions to check based on a JQL query. You could use that along with the JQL clause "sprint not in openSprints()" to achieve this requirement.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We don't have script runner yet, but I am pushing to have it added to our system ASAP, which will hopefully be this year.
Thanks for the help, I will implement this as soon as we have it.
Many Thanks and Warm Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.