Allow logging work in Jira issues while still using workflow property 'jira.issue.editable=false'
プラットフォームについて: Cloud のみ - この記事は クラウド プラットフォームのアトラシアン製品に適用されます。
要約
Users have a requirement to use the workflow property 'jira.issue.editable=false' at the last step of the workflow but would like to still allow logging work on the Jira issues. This document explains the reason and the workaround that the admins can use to allow logging work in the issues while still using workflow property 'jira.issue.editable=false'.
環境
Jira Cloud
診断
Jira Admins want to allow work logging while the issue is in the 'Done' status, even though the 'jira.issue.editable' property is set to 'false'.
Unfortunately, the 'jira.issue.editable=false' property prevents any changes to the issue, including logging work. This is because logging work is considered an edit to the issue.
If you try to add the 'jira.permission.work=true' property it will not override the 'jira.issue.editable=false' property. The 'jira.permission.work=true' property would normally allow work logging, but the 'jira.issue.editable=false' property takes precedence and prevents any edits, including work logging.
ソリューション
As a workaround solution, Jira Admins might consider adjusting the workflow to allow a brief transition back to the same status where 'jira.issue.editable' is not set to 'false', log work, and then transition the issue back to 'Done'. This would allow work logging while maintaining control over edits in the 'Done' status.
To describe the steps in more detail, please note the following action plan:
- We will need to create a self-reflecting transition, transitions back to itself, not a different status. Lets name it as Log Work transition.
- In this transition, we will need to add a separate screen with Log Work field and we will not put any workflow property in this transition.
- When the users reach the 'Done' status, they will see another transition in the issue screen named as Log Work transition under the Actions tab next to the Resolution code which will only allow logging work keeping the issue in the same status 'Done'
For more information regarding issue workflows, please follow the documentation: Work with issue workflows