I am trying to extract the project ID along with the issue ID that is associated with worklog being added to issues.I cannot seem to get the webhook to send the project ID? i have copied a (redacted) copy of the webhook i am receiving when worklog is added to issues.
{
worklog: {
issueId: "12229",
timeSpentSeconds: 3600,
timeSpent: "1h",
created: "2020-02-17T16:08:19.515+0000",
author: {
accountId: "**",
avatarUrls: {**},
displayName: "Anthony",
accountType: "atlassian",
self: "**",
timeZone: "Europe/London",
active: true
},
updateAuthor: {
accountId: "**",
avatarUrls: {**},
displayName: "Anthony",
accountType: "atlassian",
self: "**",
timeZone: "Europe/London",
active: true
},
self: "https://**.atlassian.net/rest/api/2/issue/12229/worklog/10051",
started: "2020-02-17T15:08:16.223+0000",
id: "10051",
updated: "2020-02-17T16:08:19.515+0000"
},
webhookEvent: "worklog_created",
timestamp: 1581955699515