We'd like to send an email to the component lead when we close a ticket related to that component. I tried several scenarios (Automation, Transition, Notifications schemes), but none of them worked. We'd like to avoid installing an additional add-on on our cloud instance. Is there a solution?
As Nicolas mentioned, there is no built-in way to do this.
One way you can try is to combine automation with Jira's REST API within automation.
In short, the component structure does not display the lead component and if you did a direct GET on /rest/api/3/component/{id}, you would only have the accountID of the lead component. You would need a third action using a GET User by account ID: /rest/api/3/user
To then find out the email of the component lead.
It might be a little harsh, I imagine. But it is one of the few ways without the support of an add-on that will be able to retrieve your component lead's email.
@Luc Grangier I think that this feature is not possible as built in currently. You might want to open a suggestion on jira.atlassian.com.
HTH
Nicolas
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.