Forums

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

how to define custom field readonly in a listener

Hadas Virtzberg
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 10, 2022

I need to define custom field read only via listener.

i have a specific group that can edit a field,  I created a behavior and it works for jira well,  but we work with structure and in there the field is writable, I want to use listener to make the field read only, or add and remove the field from the screen 

1 answer

1 accepted

1 vote
Answer accepted
Ram Kumar Aravindakshan _Adaptavist_
Community Champion
August 11, 2022

Hi @Hadas Virtzberg

It's neither possible to set a field to read-only nor hidden using the Listener.

This is only doable using ScriptRunner' Behaviour.

A similar question has been asked and answered previously in this community post.

Thank you and Kind Regards,

Ram

Hadas Virtzberg
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 13, 2022

Thanks

Ram Kumar Aravindakshan _Adaptavist_
Community Champion
August 14, 2022

Hi @Hadas Virtzberg 

Kindy accept the answer.

Thank you and Kind regards,

Ram

Suggest an answer

Log in or Sign up to answer