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.