How to disable a field in Jira

Parineeta Punalekar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 29, 2024

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)



1 answer

0 votes
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 29, 2024

Hi @Parineeta Punalekar,

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.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events