Forums

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

How to make the field read only on Edit Screen on particular status

Vineela Durbha
Contributor
August 14, 2018

I have a field on edit screen and I want to make the field read only only for particular status.

Is there any way apart from behaviors to make field read only in this case

2 answers

2 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 14, 2018

Hello,

You can use also the Power Scripts add-on:

https://marketplace.atlassian.com/apps/43318/power-scripts-jira-script-automation?hosting=cloud&tab=overview

There is the Live Fields feature. You can modify fields in the Create, Edit and Transition Screens.

Your code would look like this:

if(argv["screen"] == "Your transition name") {
  lfDisable("Your custom field name");
}

You can find more info on Live Fields here:

https://confluence.cprime.io/display/JJUPIN/Live+Fields

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 14, 2018

You don't.  Jira does not have field permissions.

Vineela Durbha
Contributor
August 14, 2018

So only way would be only through behaviors?

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 14, 2018

Yes, you need something that will botch it with javascript.

Vineela Durbha
Contributor
August 14, 2018

ok Thank you

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events