Hello Atlassian users,
I have a custom field that should be 'locked' while in a Closed status. So after the issue has transitioned to Closed, the field should only be viewable, not writeable.
I have tried adding a Behaviour using ScriptRunner, but I can only make the field un-editable during a workflow transition...not during the workflow Closed status itself.
I have looked at adding a listener...but unsure of what the code should look like and if this will do want I envision...or the same thing as the Behaviour. (I do not want to only have the custom field on the view screens either).
End result should render the custom field read only while the issue is in the Closed status. Once the issue is re-opened, it can be writeable again.
Any assistance/thoughts are appreciated. Thanks--Lara