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.
[JIRAAUTOSERVER-355] Send Web Request with POST Issue Data not providing attachment information
Remote Link | Original: This issue links to "A4J-2850 (Bulldog)" [ 593765 ] | New: This issue links to "A4J-2850 (JIRA Server (Bulldog))" [ 593765 ] |
Labels | Original: iq-a4j | New: iq-a4j ril |
Remote Link | New: This issue links to "Internal ticket (Web Link)" [ 956521 ] |
UIS | New: 0 |
Remote Link | New: This issue links to "Page (Confluence)" [ 738699 ] |
Labels | New: iq-a4j |
Description |
Original:
h3. 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). h3. 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. h3. Expected Results For an issue with an attachment the following is expected: {noformat} "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" } {noformat} h3. Actual Results The element "Attachment" is not present in the payload body. h3. 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. |
New:
h3. 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). h3. 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. h3. Expected Results For an issue with an attachment the following is expected: {noformat} "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" } {noformat} h3. Actual Results The element "Attachment" is not present in the payload body. h3. 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. |
Status | Original: Needs Triage [ 10030 ] | New: Long Term Backlog [ 12073 ] |
Remote Link | New: This issue links to "A4J-2850 (Bulldog)" [ 593765 ] |
Attachment | New: payload on 7.3.3 good.txt [ 411973 ] |