Disabling edits in closed issues for Jira tickets

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問


Platform Notice: Cloud - This article applies to Atlassian products on the cloud platform.

要約

Depending on our project use case, we may need to prevent users from editing issues when they are in the "Closed" status. As such, we can make use of the following workflow properties to do the job.

環境

Jira Software Cloud

ソリューション

Notice that we have the Entity Property and Workflow permission levels. The property "jira.issue.editable=true/false" will restrict the edition at the entity property level only. Entity properties allow plugins to add key/value stores to Jira entities, such as issues or projects. These values can be indexed by Jira and queried via REST API or JQL. 

To disable edits and comments at the Workflow level, you can follow the steps outlined below:

  1. Edit the workflow that will be restricted;
  2. On the workflow's diagram view, click over the status that you want to add the restrictions;
  3. You will see a popup menu on the right side of the screen;
  4. Click on "Properties" in the popup menu;
  5. Add the following properties;
  6. Publish the workflow changes;


To prevent edition:

jira.permission.edit.denied

This property will prevent the issue from being edited once it is in the selected status. To edit the issue again, you will need to transition it to a different status without that property. Notice that in the example above you don't need to specify the property value, only the property key.


To prevent comments:

jira.permission.comment.denied


To prevent Issue move:

jira.permission.move.denied


Remember to publish the workflow changes after adding the properties.




最終更新日: 2024 年 1 月 3 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.