Script workflow function : Current user will be added to watcher list of issue

esinclair March 13, 2019

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?

0 answers

Suggest an answer

Log in or Sign up to answer