Forums

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

How to make specific fields non-editable at a particular workflow status

Rama Krishna February 28, 2023

Hello

 

we are trying to make specific fields non-editable at a particular workflow status in jira cloud. How can we achieve this using ScriptRunner.

we are aware of setting WF properties & removing the particular field from issue edit view and to add self transition to edit that particular field to all statuses except desired status

looking forward to know how to achieve this via ScriptRunner via listener.

Scenario :

If i wanted to make component field non editable at a transition called "QA Review" from status In-Progress to In-Review. How do i do that

Thanks in advance

1 answer

1 accepted

1 vote
Answer accepted
Jeroen Poismans
Community Champion
February 28, 2023

Hi!

In Scriptrunner on Server / DC you would be able to do this using behaviours with a guid workflow.

On Cloud unfortunately you can't, the app simply isn't that far yet on Cloud, but new features are being developed and added.

Your best bet to get this to work in Cloud would be as you mentioned: Make the field editable only on a tranistion.

Regards,

Jeroen

Rama Krishna February 28, 2023

Noted ! Thank you @Jeroen Poismans  

is it not possible with the new script runner behaviours for Jira cloud ?

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 1, 2023

Behaviours on Cloud only works for a few types of custom field, and only on the create screen at the moment (not view or transition).  We're working on it.

See https://docs.adaptavist.com/sr4jc/latest/features/behaviours

Like # people like this

Suggest an answer

Log in or Sign up to answer