Invoke/Trigger REST API with task metadata when status of task moves from X to Y

DURGA PRASAD PATLOLLA
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 26, 2021

Is it possible to trigger a REST API with all the metadata of task on a event ?

 

Example : Lets lets we consume various info (fields) while a task creation like environment, duration, Type of operation, etc....And my task will have various states like To Do -> Approved -> Done.

 

So on moving task from ToDo -> Approved i need to invoke a rest API which post all the metadata of task, and my rest API will check the remaining work. 

On receiving response 200 from rest API my task status must be moved to Done automatically

 

 

1 answer

0 votes
Ignacio Pulgar
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.
November 28, 2021

Hi @DURGA PRASAD PATLOLLA ,

Yes, that's possible.

This awesome article explains how to do so.

Of course, you should change the Automation Rule trigger to Issue Transitioned:

automation.png

In your case, substitute Done with Approved.

Hope it helps.

Suggest an answer

Log in or Sign up to answer