Forums

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

Is it possible to make "Labels"field as non editable in the view screen?

Sushma May 28, 2019 edited

Currently I am using the below  code in the Behaviours(initialiser) .

def descField = getFieldById("Labels")
descField.setAllowInlineEdit(false)

 

But in the View screen edit option is still enabled?

 

1 answer

0 votes
Sebastian Krzewiński
Community Champion
May 28, 2019

Hi @Sushma 

 

Regarding to this question (link) Behaviours don't work in view screen.

 

Regards,

Sebastian

Sushma May 29, 2019

Hi Sebastian

Thanks for your response.

I have one requirement like we have a custom field "Requester" of type Label.It is present only on the "Issue View Screen".I want to make that field to be non editable in the View screen.

Is it possible ??

I have attached the screenshot Below.

I dont want that pencil icon on issue view screen.

Requester.PNG

Sebastian Krzewiński
Community Champion
May 31, 2019

Hi

 

As I wrote in previous comment - behaviours don't work on view screen.

The only way to do this is remove this field from edit screen - then field value will be only displayed on issue.

 

Regards,

Seba

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, team ’25 europe, early bird extension, conference discount, barcelona, hybrid event, AI teamwork, early bird pass, digital access, collaboration conference, atlassian events, register now, developer conference

1 week left to save on your Team '25 Europe pass

Still thinking about joining us for Team '25 Europe? Early bird has been extended for just one week! Now’s the time to lock in your lowest rate. Use code TEU25COMM-20 to save 20% at checkout. Hurry, this only lasts for 1 more week.

Learn more
AUG Leaders

Atlassian Community Events