The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

TAGS
AUG Leaders

Atlassian Community Events