Trigger webhook only once

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

Accepted Answer
0 votes

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
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

432 views 7 5
Join discussion

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