Forums

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

Is there a way to make description field non-editable while issue is in certain statuses?

Nina Zolotova
Contributor
March 23, 2018

Hello.

For example, in my project I have three issue statuses - New, Work in progress and Done. I need to allow editing issue description only in status New, and to restrict editing, when someone already works on this issue. Is it possible in Jira?

Thank you.

2 answers

1 accepted

2 votes
Answer accepted
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.
March 23, 2018

Edit restrictions are all or nothing - you can block it by status and even by group (e.g. when "in progress" only developers can edit, rest of the time, users can too), but not by field

If however, you remove the field you want to protect from the Edit screen, and put it on transition screens, you can create transitions that are locked down and let only certain users edit the field by using them

Nina Zolotova
Contributor
March 23, 2018

Nic, thanks for your help.

Blocking by status works for my purpose.

I added property key jira.issue.editable and value false for the issue status Work in progress.

Like Óscar Mestre likes this
Jamesson January 31, 2019

If however, you remove the field you want to protect from the Edit screen, and put it on transition screens, you can create transitions that are locked down and let only certain users edit the field by using them

 

Can you please elaborate on this point?

Jamesson February 8, 2019

Gotcha

 

Unfortunately that doesn't quite cover what I'm looking for: you can make an issue uneditable in a status, but while it's transitioning it does not remain uneditable.

Jason Fedelem February 11, 2019

What I did was to create a custom transition screen with only the fields I wanted to be editable on that screen.  Other fields are not viewable.  The downside is that it doesn't show the other fields in context, but its the best solution I've been able to come up with.

Jamesson February 11, 2019

I ended up doing the same thing, which wasn't what I initially wanted. What I was shooting for was making a field read-only on a transition screen.

Jason Fedelem February 11, 2019

ah... yes.  I am not aware of a way to do that.  This is one of those edge cases that is really necessary to enforce policy, but there isn't a good way to do it.

Sai Pravesh August 20, 2019

Hi All

@Nic Brough -Adaptavist- mentioned "you can block it by status and even by group (e.g. when "in progress" only developers can edit, rest of the time, users can too)"

I'm looking for a way to enable only certain people to edit in certain statuses, can you elaborate on how to achieve this? 

Thanks in advance.

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 20, 2019

Have a look at the second paragraph in my answer above.

Sai Pravesh August 25, 2019

Thanks @Nic Brough -Adaptavist- I had to experiment to understand your answer, my bad.

0 votes
Deleted user February 25, 2020

You could also use scriptrunner app, behaviours to restrict editing fields in certain statusses

Suggest an answer

Log in or Sign up to answer