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

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 Leaders.
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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events