Hi all,
I am trying to code a behavior that iterates through all the fields in my current issue and sets them as read-only, applicable onyl if the issue is closed. Can anyone help me here?
Thanks in advance :)
Dear @Lorenzo Brazzi ,
Instead of going through all the fields and making them read only, using script this may cause a performance issue for the page. I suggest you do the same using the inbuilt feature.
Select the fields in the behavior and add the workflow step condition as below.
Dear @Aswin Raj D ,
Thanks for your answer. That's actually what I was trying to avoid. Is there an option of selecting *all felds* instead of adding one by one?
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear @Lorenzo Brazzi ,
Yes, this can be achieved by adding workflow property,
And the property should be set as follows:
jira.issue.editable=false
Goto your workflow -> select your status -> view properties.
Property Key = jira.issue.editable
Property Value = false
You may not want an issue to be editable when it’s on a particular status. For example, once an issue is in a “Done” status, you may want to restrict editing to ensure no data changes after work is completed.
Use case |
Key |
Value |
---|---|---|
To make an issue editable when it's on a particular status. |
jira.issue.editable |
true |
To disable editing when an issue is on a particular status. Often used on a final status. |
jira.issue.editable |
false |
for more details, please have a look at Atlassian documentation on workflow properties
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.