Can I make certain fields editable vs read only on the view/edit screen?

Deleted user February 9, 2018

We ran into some issues with our agents editing field values so we decided to set the jira.issue.editable property on all statuses to false so that no edits could be made to any field while viewing the View/Edit screen.  After doing so, we realized that agents & admins could no longer add attachments to the issues, which is a problem.

Is there any way (without having to buy another plugin) to set certain fields as editable or not editable?  For now, the primary problem is with Attachments, but if it's possible to set this value on a field-by-field basis then we would have a lot more flexibility to setup our issues. 

I know that a workaround would be to add a transition screen and simply put the attachment field on that screen, but it's not ideal. 

2 answers

1 accepted

1 vote
Answer accepted
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.
February 9, 2018

I guess the only thing you can do is to remove the required fields from the edit issue screen, make a screen with such fields and create a transition with the screen attached. Then you could use conditions to restrict the transition execution.

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.
February 9, 2018

That's the only way without the Field Security add-on (Behaviours can do it, but it only protects it on the client side and imperfectly)

0 votes
Deleted user February 9, 2018

Thanks Alexey & Nic.  I also forgot to put this in my original post, but I guess there's no way to only make one tab on the view/edit screen editable, right?

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.
February 9, 2018

It is not possible out of the box. But you could use Power Scripts Live Fields or ScriptRunner behaviours to do it.

Mariusz Piotrowski
Contributor
February 25, 2019

Can you do it with attachments as well? On view screen read only and attaching files only on transitions?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events