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

0 votes
Accepted answer

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
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,310 views 5 11
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