Summary
The JIRA plugin integration allows JIRA to post to mattermost if a ticket is “updated”. This would previously include a post if a ticket is closed, but this no longer happens.
Steps to reproduce
- Mattermost 5.13.2
- JIRA plugin enabled
- A working webhook configured in JIRA server (not cloud) v7.8.4, with only “Issue: updated” selected under the events (all other checkboxes in the events section unselected)
- Create a ticket covered by the webhook’s query, assign it to someone, and close it
Expected behavior
- No post when the ticket is assigned
- Expected a post when the ticket is closed or “resolved”
Observed behavior
- A post when the ticket is assigned. This seems to be new, but the docs do mention this as an “update”, so it also seems valid.
- No post when the ticket is closed. Confirmed with numerous tickets on different projects and webhooks.
The important thing for us is to restore the post for closed tickets. Ideally we’d be able to filter out the posts for assigned tickets if we choose to, but that’s less important.