The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to make a custom field readonly or disabled in Jira Automation action

Shiv Sharma
Contributor
April 24, 2023

I have a custom field with two values: Yes and No. Default is "No".

I would like to create an automation rule as follows:

When the value of the field changes to "Yes" then:

  •  send and email
  •  make the field non-editable or readonly, so that the field value cannot be changed again.

The first action is easy. But I am not able to figure out how to prevent the field from being modified again. None of the currently available options for a new action seem to do this.

Any help would be appreciated. 

 

Thanks,

Shiv.

 

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
David Pezet
Contributor
April 24, 2023

Is this in a company managed project? You might try removing the field from the Edit screen, and instead only allow it to be changed from a Workflow Transition that loops back to the current status. Something like a transition "Set X to Yes" that sets the field, and then you would be able to add a Condition to that transition to only display that when that field value is not "Yes".

Shiv Sharma
Contributor
April 25, 2023

It is a company managed project. 

Thanks. Your workaround makes sense. However, it will be great to have a simpler solution (if there is one). 

David Pezet
Contributor
April 25, 2023

I would be stoked for something simpler too! Unfortunately, individual field security/permissions has been a long running request. IIRC there are a few third party apps in the marketplace that help, but otherwise we are left to control it through the transitions/screens. Please update your issue here if you happen to find something easier.

Shiv Sharma
Contributor
May 5, 2023

Will do. Thanks David. 

TAGS
AUG Leaders

Atlassian Community Events