In JIRA v6.2.2 I am adding the post function "Script workflow function : Current user will be added to watcher list of issue" to the Create Issue transition of a sub-task. Instead of adding the current user, the reporter of the parent ticket is added as a watcher.
1st pass - I tried the post function with no condition. The parent reporter is added as a watcher and the current user is not.
2nd pass - I tried the post function with the example condition. The parent reporter is added as a watcher and the current user is not.
Script workflow function : Current user will be added to watcher list of issue if this condition is true:
currentUser == issue.reporter
3rd pass - I tried it with a condition I found in a different post. The parent reporter is added as a watcher and the current user is not.
Script workflow function : Current user will be added to watcher list of issue if this condition is true:
currentUser?.name==issue.reporter?.name
Help?
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.