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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.