Duplicated issuelink events when creating issues in epic

When an issue is created by using button ‘Create issue in Epic’

Atlassian is sending the below 3 events with payload:

  • issue link created
{
  "timestamp": 1614599231629,
  "webhookEvent": "issuelink_created",
  "issueLink": {
    "id": 42566,
    "sourceIssueId": 403815,
    "destinationIssueId": 403816,
    "issueLinkType": {
      "id": 10201,
      "name": "Epic-Story Link",
      "outwardName": "is Epic of",
      "inwardName": "has Epic",
      "style": "jira_gh_epic_story",
      "isSubTaskLinkType": false,
      "isSystemLinkType": true
    },
    "systemLink": true
  }
}
  • issue link deleted
{
  "timestamp": 1614599231728,
  "webhookEvent": "issuelink_deleted",
  "issueLink": {
    "id": 42566,
    "sourceIssueId": 403815,
    "destinationIssueId": 403816,
    "issueLinkType": {
      "id": 10201,
      "name": "Epic-Story Link",
      "outwardName": "is Epic of",
      "inwardName": "has Epic",
      "style": "jira_gh_epic_story",
      "isSubTaskLinkType": false,
      "isSystemLinkType": true
    },
    "systemLink": true
  }
}
  • issue link created
{
  "timestamp": 1614599231731,
  "webhookEvent": "issuelink_created",
  "issueLink": {
    "id": 42567,
    "sourceIssueId": 403815,
    "destinationIssueId": 403816,
    "issueLinkType": {
      "id": 10201,
      "name": "Epic-Story Link",
      "outwardName": "is Epic of",
      "inwardName": "has Epic",
      "style": "jira_gh_epic_story",
      "isSubTaskLinkType": false,
      "isSystemLinkType": true
    },
    "systemLink": true
  }
}

I think there should be only one event dispatched to addon infrastructure.

1 Like

Hi @awieczorek,
thanks for your report.
I was able to reproduce the issue and I agree with you that it looks like a bug. I’ve redirected it to a team that owns that feature. I will keep you updated.

2 Likes

Hello again,

I’d like to inform you that the public ticket was created to track the bug. It was added to the long-term backlog, so I encourage you to watch it.

Have a nice day.

1 Like