Trigger webhook only once

buskop August 16, 2016

This question is in reference to Atlassian Documentation: Advanced searching - operators reference

Hi!

I use JIRA webhooks to trigger Jenkins jobs for notifications, related to issue created or resolved. At this moment i have probles with "resolved". I want to trigger Jenkins at the moment, when status changed to Resolved and nothing more. 

Current JQL filter(Issue:update)

project = "Project Name" AND issuetype = Incident AND priority = "N/A" AND status changed TO Resolved

It triggers Jenkins only after status changed to Resolved AND this issue updates (e.g. Resolved -> Closed or comment added etc.)

 

In a word, i want to trigger Jenkins only when status changed to Resolved and ignore all the following updates.

Could anybody help?smile

Thank you!

1 answer

1 accepted

0 votes
Answer accepted
buskop August 17, 2016

I found answer by myself, i just added post function 'Trigger webhook' to transition in workflow.

Suggest an answer

Log in or Sign up to answer