I would like to do a field as mandatory when an issue is transitioned from resolved to closed using JMWE. I have a common workflow for different type of issues (bugs, tasks and user stories) and I would like to apply this restriction just for the issuetype = bug and if the RootCause field is = Development Issue OR Development Issue - Obsolescence or Development Issue - Security
you can use a Field Required Validator (JMWE app), select the field that should be mandatory, and use this as the "conditional validation" script:
issue.get("issuetype").name == "Bug" && issue.getAsString("RootCause") in ["Development Issue","Development Issue - Obsolescence","Development Issue - Security"]
Thanks for your answer and sorry I didn't say anything before but I hadn't had time to test it
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.