The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can an automation rule be used to update component lead?

ihe
Contributor
March 1, 2021

Hi!

Is there a way to use an automation rule to trigger an update of component lead? My plan was to create a scheduled rule that runs every 7 days where the rule updates component lead. I cannot seem to do that. Is there a way I wonder?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Alexis Robert
Community Champion
March 1, 2021

Hi @ihe , 

 

you could do this using the "Send web request" action in Automation, and sending an API request to your component : https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-components/#api-rest-api-3-component-id-put

 

I takes a bit of work to get it working but this way you can update the component lead.

 

Let me know if this helps,

 

--Alexis

ihe
Contributor
March 1, 2021

Hi Alexis and thanks for the reply. I was hoping for a solution within jira, i.e. not involving any sending but I will absolutely look into this!

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
March 1, 2021

Hi @ihe 

It appears that feature idea is in the Code Barrel backlog as a suggested improvement:

https://codebarrel.atlassian.net/browse/AUT-940

Until that gets implemented, the REST API approach Alexis noted would work.  Here is an article describing how to implement that:

https://community.atlassian.com/t5/Jira-articles/Automation-for-Jira-Send-web-request-using-Jira-REST-API/ba-p/1443828

Best regards,

Bill

Like ihe likes this
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events