I have been using earlier posted script in our environment. Now users have noticed that, when sub-task version changes every time when task is edited. For example parent task is in version 1.3 and sub-task is version 1.4. If parent task is updated (change of assignee), then sub-task version is incorrectly changed to 1.3.
How can I do fix/versions changes automatically based on parent fix/versions field? Sub-task should change only when parent fix/versions -field is updated.
https://community.atlassian.com/t5/Jira-questions/Custom-update-listener-to-set-subtask-s-fix-version/qaq-p/591808
Hi @Teemu Niemi,
The script, provided in your link, works whenever an issue is updated. Because it listens ISSUE_UPDATED event. So, each field change in parent issue will automatically fire this event although fix/version doesn't change.
You should look at the event changelog whether fix/version has changed or not.
Example: https://community.atlassian.com/t5/Marketplace-Apps-questions/Custom-listener-to-detect-User-Picker-field-change-and-copy/qaq-p/440758
It looks like you're new here. Sign in or register to get started.