Forums

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

Call automation via api

JensH
Contributor
September 5, 2023

Hi

I have been looking for a way to call a given automation on an issue via the v3 rest api.

It can't find any of of that sort in documentation so it may not be possible at all. 

I was hoping for something ala:


.../rest/api/3/issue/#{issue_key}/automations/#{automation_id}/run

Does anyone know if such thing is even possible?

Best
Jens




2 answers

1 accepted

1 vote
Answer accepted
Mikael Sandberg
Community Champion
September 5, 2023

Automation doesn't have a public API yet. There is a suggestion to have it added, AUTO-51.

JensH
Contributor
September 5, 2023

Thanks.

Like Mikael Sandberg likes this
0 votes
JensH
Contributor
September 6, 2023

If any one else comes here and wonder about what my workaround was:

I have extracted the common part of the automation and made the trigger part to be a webhook.
The e.g. Manually changed or some other trigger call this webhook with the issue-key.
The same webhook can be called externally via a script.

 

Best

Suggest an answer

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

Atlassian Community Events