Issue Summary
Using Send Web Request action with POST Issue Data not providing attachment information after 7.3.4 upgrade.
Tested with multiple Jira versions (8.13.5, 8.13.8, 8.15.0).
Steps to Reproduce
- Create or update an issue to have an attachment.
- Create a new rule with any trigger.
- Create a new action of Send web request.
- Add any value to the Webhook URL (such as "test")
- Select HTTP method POST and webhook body of Issue Data.
- Expand the Validate your webhook configuration and enter your issue key.
- Click Validate and expand the Request > Payload area.
Expected Results
For an issue with an attachment the following is expected:
"attachment": [
{
"self": "http://localhost:48135/j8135/rest/api/2/attachment/10000",
"id": 10000,
"filename": "appreciation.pdf",
"author": {
"self": "http://localhost:48135/j8135/rest/api/2/user?username=admin",
"name": "admin",
"key": "JIRAUSER10000",
"accountId": null,
"emailAddress": "admin@atlassian.com",
"avatarUrls": {
"48x48": "https://www.gravatar.com/avatar/5c1526ade5aea60fda64479097670188?d=mm&s=48",
"24x24": "https://www.gravatar.com/avatar/5c1526ade5aea60fda64479097670188?d=mm&s=24",
"16x16": "https://www.gravatar.com/avatar/5c1526ade5aea60fda64479097670188?d=mm&s=16",
"32x32": "https://www.gravatar.com/avatar/5c1526ade5aea60fda64479097670188?d=mm&s=32"
},
"displayName": "My Name",
"active": true,
"timeZone": "America/Sao_Paulo",
"groups": null,
"locale": null
},
"created": 1634933575491,
"size": 800567,
"mimeType": "application/pdf",
"content": "http://localhost:48135/j8135/secure/attachment/10000/appreciation.pdf"
}
Actual Results
The element "Attachment" is not present in the payload body.
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available.
Note that while the issue is not present on 7.3.3 we do not recommend rolling back Automation for Jira at this point.