How to restrict the field from editing but should be able to view the data.
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
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.
@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
@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.
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 sprintCondition: If specific statusThen you can use compare field conditionThen 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
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.
HI @MahanthPrudhvi
What information is displayed on the custom field? Is the value provided on the Create issue screen?
Hi @Jack Brickey Thanks for your response. Scriptrunner is quiet pricy , I have to look for another addon.
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.
Hi @Dave Mathijs Thanks for the response. It's a date field, which will be filled in transition screen.
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...
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
It looks like you're new here. Sign in or register to get started.