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

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

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 Community Leader Nov 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
TAGS
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

50 views 0 3
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