Shall I call CURL function inside the JIRA Workflow Transition?

kumar February 20, 2014

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 votes
Timothy
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.
February 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