View and change issue security level from within a plan
Platform Notice: Cloud - This article applies to Atlassian products on the cloud platform.
要件
To be able to view and change the issue security level from within a plan.
環境
Jira Cloud, Plans
背景
At the moment, we cannot add the Security Level field to the plan
Feature request: - JSWCLOUD-22209Getting issue details... STATUS
回避策
The requirement is achievable by using a custom field and an Automation for Jira rule.
1) Create a single list custom field and add the same options to this field as the security levels added to the issue security scheme of the project
2) Once the field is created, perform a bulk search to find all issues belonging to a set security level and update the custom field with the same option.
Example: If the security level of 10 issues is "admin", then bulk update these 10 issues such that the "admin" option is set to the custom field.
Repeat the same action for all security levels/issues.
4) Add the custom field to the plan.
3) Create an automation rule as follows:
Note: Here "New level" and "Editable only by" are security levels.
We are using the "Field value changed" trigger for the custom field. Based on the value set, we are updating the security level of the issue. With the above rule, when the value of the custom field is changed from the roadmap plan and the changes are approved, the security level of the issue is changed. Since we are not adding the custom field to the jira issue edit/create screen, users should not be able to change the field value as well.