One of our workflows requires a few users to be automatically added as watchers when a ticket is created. Additional users may also need to be watchers and might be added during creation. I've added a post function to the Create step to add the required watchers, selecting the new "Append value" feature.
Unfortunately, during issue creation, if the reporter manually adds a watcher to the field, they receive the following error:
Error creating issue: Unable to update custom field customfield_10230 - Watchers in issue [SETUP-8].
It turns out that the tickets are actually being created, and the manually added watcher is included, but the post function watchers are not.
Here are the post functions for the create step:
Here is the description of the new "Append Value" option:
If set, the given value will be appended to the field.
Or if field supports multiple values, then the given value will be set without unsetting other ones.
I've tried adjusting the post function value to include a leading comma, a trailing comma, both and no commas. I've also tried removing the trailing comma from the watchers field when manually adding a watcher.
Looking for suggestions
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG