Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is it possible to use components lead in Automation for Jira?

Documentation claims that only issue.components.name is available and also lists interface could be used.

Is it possible to extract lead users from components?

My intention is to send a slack message to component lead when an issue is created with specific component defined.

2 answers

Hi @Production Management

you can also call the Jira API to get the component lead (documentation). I found this tutorial quite helpful to follow, which makes it quite easily.

 

I think you should get the component lead accountId then via the webhook response like this:

{{webhookResponse.body.lead.accountId}}

 

And you can upvote the feature request in the meanwhile: https://jira.atlassian.com/browse/JRACLOUD-76851

 

Regards
Jan

1 vote

Hello @Production Management ,

The Component lead as a smart value is still on the backlog and not yet implemented for Automation for Jira, however, there is a really good discussion on a workaround in the following thread noting a method to set a custom user picker field on an issue with the component lead, then referencing the custom field for follow up automation actions:

Regards,
Earl

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
Community showcase
Published in Jira Service Management

Security Advisory for Jira Service Management

On October 20, 2021, Atlassian published a security advisory for Jira Service Management. The full advisory is available at this link.  We've seen a number of questions already asking for...

75 views 0 1
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you