The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Help creating very specific webhook events

Amber G
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 4, 2019

I would like to trigger a WebHook only when the status is updated, ideally to a specific status.

The existing event on update triggers the WebHook whenever any field is updated. Is there a way to make this more specific? If not, is there anything in the payload that can tell the application which field was updated?

 

Thanks for any help.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Amber G
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 5, 2019

I have found a solution. The problem was that I was trying to configure the WebHook incorrectly.

In order to invoke a WebHook call when a specific status change is made, a Workflow must be created or updated with a 'Post Function' invoking the WebHook on the desired status change (e.g. from 'To Do' to 'In Progress').

A 'Workflow Scheme' must then be added and assigned to the desired project and issue types to which this behaviour should apply.

The WebHook needs only to specify the URL, and no event. Associating the WebHook with the status change, or 'Transition' as JIRA calls it, and ensuring it is 'Active' by adding the Workflow in which it exists to a 'Workflow Scheme' is adequate.