I am setting an automation rule in JIRA for issuetype = Bug.
Case - We have made Environment field and Root Cause(dropdown) field mandatory when a bug is closed. We also have a Production environment field as Yes/No/none.
If a user selects Production Environment as yes, I want to Environment field to be inactive.
Is there anyway to set this rule using automation(Project-->Settings--> automation)
Thanks,
Pari.
Welcome to Atlassian Community!
No, you cannot use automation for this, automation rules execute after the issue is saved to the database. You would need something like Scriptrunner or any of the other scripting apps in the Marketplace that can do this. Scriptrunner has Behaviour that you can use to make fields required/optional based on what the user entered in another field before the issue is saved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.