Forums

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

How to set system field to be read ony

Gal Fatal
Community Champion
June 17, 2025
Hi,
I would like to calculate the field "story points" and then set it to be read-only so users will not be able to edit the field; Only view it.
I succeed in doing so with regular custom fields using script runner behavior
for example:
getFieldById('customfield_10335').setReadOnly(true)
But in the system field, I do not find the way.
Any idea? Thanks, Gal

1 answer

1 accepted

1 vote
Answer accepted
Trudy Claspill
Community Champion
June 17, 2025

Hello @Gal Fatal 

Considering that the field is not listed in the Supported Fields page in the ScriptRunner Cloud Behaviours documentation, I don't think you can actually use Behaviours on that field.

https://docs.adaptavist.com/sr4jc/latest/features/behaviours/behaviours-supported-fields-and-products

Have you contacted Adaptavist to find out if the field is supported for Behaviours?

Gal Fatal
Community Champion
June 21, 2025

Thank you @Trudy Claspill  I created ticket to Adaptavist.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events