I would like to block the subtask editing option when the US parent is in a certain state.
For example, when the US is in the approved state, the subtask associated with this Us cannot be edited.
I've consulted the workflow conditions, validators and post-functions options, but I haven't found the option that I'm looking for.
Thanks
Hello Gemma,
In order to prevent sub-task issues from being edited while their parents are in a determined state, you can update the sub-task to a new status where the jira.issue.editable property is configured to false, however, you will need a plugin to automatically update the sub-task status.
You can use the Automation Lite for JIRA App which has 300 free executions/per month to achieve this goal. These would be the steps:
- Configure a new status for your Sub-task issues (blocked) with the property jira.issue.editable set to false that allows all the transitions to be transitioned to, but can only be performed by the Automation for JIRA user.
- Create another status to be selected to the sub-tasks after the parent status change and enable the sub-task to be edited again.
- Configure two rules: One to move the status of the sub-task issue to the created status and others that will move out of the created status, depending on the parent status. Supposing the parent status that blocks the sub-task from being edit would be "In Progress":
1 - This one will drive the sub-task to the blocked status:
2 - This one will take the sub-task out of the blocked status:
Let me know if you have any questions.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.