I want to set a custom field in the parent issue whenever subtasks are created or updated. The custom field should reflect the number of open subtasks.
1-Create issue Parent-1 > Custom field "NumSubtasks" is "0"
2-Create subtask Child-1 > Custom field "NumSubtasks" of Parent-1 becomes "1"
3-Create subtask Child-2 > Custom field "NumSubtasks" of Parent-1 becomes "2"
4-Transition subtask Child-1 from Status "open" to "closed" > Custom field "NumSubtasks" of Parent-1 becomes "1"
5-Transition subtask Child-2 from Status "open" to "closed" > Custom field "NumSubtasks" of Parent-1 becomes "0"
Is there a post-function and/or script which I could use?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.