Forums

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

How to restrict the field from editing but should be able to view the data

MahanthPrudhvi
Contributor
November 23, 2023

How to restrict the field from editing but should be able to view the data. 

5 answers

1 vote
Ste Wright
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 23, 2023

Hi @MahanthPrudhvi 

You can have a different View Screen to Create/Edit using Screen Schemes - this works in Cloud.

This doesn't stop a user editing the field, but it makes it much more difficult, as the user would need to workaround the field being uneditable on the Screen.

---

Alongside this, you could use Automation to limit who can edit the field successfully? The rule would...

  • Check if the Date Field was edited
  • Check if it was edited by the approved list of users
  • If it was not, then it could reverse the change (i.e set the previous value back into the field)
  • And, send the initiator an email reminding them this field is not to be modified

If this sounds of interest, and you'd like more detailed instructions, let us know :)

---

Alternatively, you could check the Marketplace to see if any Apps meet your needs - such as...

---

Let us know what you think :)

Ste

1 vote
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 23, 2023

Hi @MahanthPrudhvi ,

OOTB you cannot achieve this. You can look at various marketplace apps. I do know that scriptrunner is one such app that allows you to use behaviors to achieve this but there are others as well. 

MahanthPrudhvi
Contributor
November 23, 2023

Hi @Jack Brickey Thanks for your response. Scriptrunner is quiet pricy , I have to look for another addon.

0 votes
Dave Mathijs
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 23, 2023

HI @MahanthPrudhvi 

What information is displayed on the custom field? Is the value provided on the Create issue screen?

MahanthPrudhvi
Contributor
November 23, 2023

Hi @Dave Mathijs Thanks for the response. It's a date field, which will be filled in transition screen.

0 votes
Ezgi Bayındır
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.
November 23, 2023

Hi @MahanthPrudhvi ,

If you are using the scriptrunner plugin, you can do this with behavior or you can use another third-party plugin. But if this plugin is not available, this automation rule can be tried before the paid solutions.

Trigger: You can monitor for change to the field sprint

Condition: If specific status

Then you can use compare field condition

Then use the action to edit the trigger issue

This is a similar question of yours if you want to check: Solved: Is there a way to restrict editing of just the sto... (atlassian.com)

Best,

Ezgi

MahanthPrudhvi
Contributor
November 23, 2023

Hi @Ezgi Bayındır Thanks for your response. As per new policy automations are limited for Standard Version of Jira Cloud which I am using. So I can't go with this option.

0 votes
Mayur Jadhav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 23, 2023

Hello @MahanthPrudhvi ,

Basically Jira has 3 Issues operations 1. Create 2. Edit and View. You can use the 2 different Screen 1. One for Create and View and 2. For Edit.

For more information you may please have a look at community thread - 

https://community.atlassian.com/t5/Jira-questions/how-can-we-disable-the-edit-option-for-custom-fields-in-jira/qaq-p/2245888

 

 

Regards,
Mayur

MahanthPrudhvi
Contributor
November 23, 2023

Hi @Mayur Jadhav thanks for response. That is for server version but I am using Cloud. For cloud it has to be on both Edit & View screens in order to be visible.

Like Dave Mathijs likes this
Mayur Jadhav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 23, 2023

@MahanthPrudhvi So you mean only few people should be able to edit the field ? then as alternate workaround you can follow this document and that can be done through workflow - https://confluence.atlassian.com/jira/how-can-i-control-the-editing-of-issue-fields-via-workflow-149834.html

MahanthPrudhvi
Contributor
November 23, 2023

@Mayur Jadhav In the above documentation it says to disable the Edit issue permission to those users which will result in disabling the edit action for other fields as well. But I want to restrict  only one field and it's fine even if no body is able to edit it. And the document asks to create more transition screens, like one for every status. Correct me if I am wrong.Screenshot (473).png

Mayur Jadhav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 23, 2023

Hi @MahanthPrudhvi ,

You can have self transition in to the workflow and add transition screen to the self transition and add relevant fields that you want to edit and apply condition ( only Admin or Group can edit). 

 

FYI Screenshot:

Screenshot 2023-11-23 at 7.59.26 PM.png

and you will button under Action.

Screenshot 2023-11-23 at 8.02.19 PM.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events