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

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
AUG Leaders

Atlassian Community Events