Hi All,
For my project I have to use the webhook "issuelink_created". I need this webhook to be fired when a task is converted to a subtask in JIRA. The problem is, the webhook is also fired when a new subtask is created.
The response of webhook when the issue is linked is:
{ "timestamp": 1585209380037, "webhookEvent": "issuelink_created", "issueLink": { "id": ***, "sourceIssueId": ***, "destinationIssueId": ***, "issueLinkType": { "id": ***, "name": "jira_subtask_link", "outwardName": "jira_subtask_outward", "inwardName": "jira_subtask_inward", "style": "jira_subtask", "isSubTaskLinkType": true, "isSystemLinkType": true }, "sequence": 6, "systemLink": true } }
and the response when a new subtask is created is:
{ "timestamp": 1585209275940, "webhookEvent": "issuelink_created", "issueLink": { "id": ***, "sourceIssueId": ***, "destinationIssueId": ***, "issueLinkType": { "id": ***, "name": "jira_subtask_link", "outwardName": "jira_subtask_outward", "inwardName": "jira_subtask_inward", "style": "jira_subtask", "isSubTaskLinkType": true, "isSystemLinkType": true }, "sequence": 5, "systemLink": true } }
What does the 'Sequence' field specify? Can I use this field to distinguish? Any kind of help is appreciated.
Hi @kumargaurav-tudip -- Welcome to the Atlassian community!
Did you figure out this issue yet?
From the automation rule perspective, I saw the same challenge that a Convert to... action cannot be accurately detected for changing to/from a sub-task as a trigger. I created a defect for this issue for automation triggers.
Best regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.