A
A
Artem2018-11-28 18:17:25
JIRA
Artem, 2018-11-28 18:17:25

How to catch issue completion event in Jira?

Good evening!
You need to catch events about the completion of tasks. Created a webhook that fires when the issue changes. The webhook works great, but in the response it only sends the issue id, assignee, and a few other non-status fields.
Added a jql-request to the webhook like: "status changed TO Done", the hook works only after changing the status from Done to any other, that is, it seems that the hook works before the status changes in fact. With a further change of statuses, the hook works every time, since, it turns out, in the history of status changes there is a transition to Done.
Tried different options:
status changed TO Done
status changed FROM "In Progress" TO Done
status was "In Progress" AND status = Done
status = Done AND status changed FROM "In Progress"
and a bunch of other combinations.
I tried to create a business process that, when the status is changed to Done, executes this webhook, but did not figure out how to activate the bp.
Has anyone faced a similar issue?
Webhook screenshot:
b0ef65ac6c.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Kolin, 2018-11-29
@kolinsant

Hang a Generic Event on the transition to Done and catch this event.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question