Branch to new created ticket and add watcher: {{triggerissue.reporter}}
He asked how to do that using Create Issue action. It is not a good idea to create hundreds of rules just for fun - both for the sake of observability and performance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just to clarify, why are you looking to do it this way - rather than just using the relevant Actions?
It would be simpler to use the Actions...
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you tried to use a custom field ID instead of a name for the Reviewers field?
{
"fields": {
"{{watchers}}":"{{issue.customfield_XXXX.value}}"
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Rafał Chomik this did not work unfortunately
Getting error when saving the Additional Fields JSON:
Additional fields contains invalid field(s) in 'update' or 'fields' section: {{watchers}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Vitaliy Antonov , welcome to the Atlassian Community!
What's the use case behind this request? Why would you like to add Watchers upon issue creation? From what I can see, the user/customer selects a Reviewer via a user picker which is then added as Watcher to the issue. Is that correct?
Are you working in Jira Software or Jira Service Management?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am working with Jira Software.
The use case:
I have a primary project where initial issue is created. After initial assessment of each issue i need to create a new linked issue in different project, that is specific to the implementation group. There could be multiple linked issues created in other projects.
I use Jira automation to create these linked issues.
Once issue is created, i want to be a watcher on that issue, so i can get notifications.
My plan works except the watcher part.
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have exactly the same use case. Did you find a solution to this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Yaiza Temprado -- Welcome to the Atlassian Community!
What have you tried thus far? For example, did you try the solution described in this thread by @Ste Wright using the basic edit functions?
If that does not meet your needs you probably have a different use case/need. I suggest:
When you post another question in an older thread, only the people following this one will see it. Creating the new question will make it more visible so others can help. Thanks!
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @[deleted] , thanks for your answer.
The problem is that I want to add watcher not to the ticket that triggered the action, but to the cloned one. Although while cloning I'm able to set up any parameter in the new ticket, I can't find the option to add watchers there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, I believe that is a known issue. The work-around/fix is:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What if you also want to add watchers to 2 sub-tasks created for the cloned ticket via the same rule?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That seems a bit more complicated, and I am having trouble visualizing what you mean. Perhaps if you add images of your rule and the audit log details, and describe what is not working, it will provide some context for the community to offer suggestions. Thanks!
Kind regards,
Bill
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.