Shall I call CURL function inside the JIRA Workflow Transition?

Dear Atlassian Group

I want to call curl function , when workflow change to one status(Open) to another status(In Progress)

Curl function: curl 'https://10.10.10.10/api/command/ACKNOWLEDGE_HOST_PROBLEM' -u '<your username>:<your password>' -h 'content-type: application/json' -d '{"host_name":"string","sticky":"int","notify":"bool","persistent":"bool","comment":"string"}'

I am here calling third party API to acknowedge the JIRA status.

Is there any possibility to call this function in the workflow of the Jira?

Thanks.

Best Regards

S.Indirakumar

1 answer

0 vote
Timothy Chin Community Champion Feb 20, 2014

Take a look at JIRA webhooks (https://developer.atlassian.com/display/JIRADEV/JIRA+Webhooks+Overview). If not, you're looking at creating your own post function and I think the Script Runner add on should be fine.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

Mission-critical battery manufacturer fulfills FAA software requirements with Commit Policy Plugin

EaglePicher Technologies is a leading manufacturer of battery systems for diverse industries like defense, aviation, space or medical. As they operate in highly regulated industries, keeping a clear ...

150 views 0 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you