Hi all!
The Project has components (components are sub-sections of a project). For each components there is a Component Lead.
I need to set up a rule in Automation. When new issue created with a component, the person responsible for the component should automatically be added as a Watchers.
Help me, please, set up a rule.
Hi @Dmitry Babenko -- Welcome to the Atlassian Community!
What have you tried thus far to solve this? If you have a rule, please post images of your rule and the audit log details showing the rule execution. Those will provide context for the community to offer suggestions.
If you have not started your rule yet...To get you started on creating your rule, please review this documentation and examples:
And here is some additional information to help you create your rule...
Kind regards,
Bill
Unfortunately your links didn't help. Maybe I'm bad at reading. I can't figure out how to set up condition Component Lead to automatically be added as a Watchers
Should I use issue.components.lead in condition somehow?
The condition is very simple.
If there is a component in issue, then the Component Lead must be a Watchers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Which of the linked information that I provided did not help?
No, as I noted you cannot reference the Component details from the issue.
Instead please try the work-around that I noted to use the Component id value to call the REST API, obtain the lead information, and use that to add the Watcher.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.