attachments
attachment
Part of code how I create message with attachments (Python api for Slack)
client.chat_postMessage(channel=channel_id,attachments=[ {"text": "This is an attachment","color": "#2eb886","fields": [ {"title": "Priority","value": "High","short": False, }, {"title": "Test","value": "Test values","short": False, } ] }, {"text": "This is an attachment 2","fields": [ {"title": "Priority","value": "High","short": False, }, {"title": "Test","value": "Test values","short": False, } ] } ],)
Hi @Andrey Otto
Welcome and great to have you in the Atlassian community!
The Jira Cloud app for Slack only reads the main text content when creating an issue. As a result, any information in the attachments blocks, including your fields and secondary text, is intentionally ignored. This isn't a configurable bug; the parser simply doesn't process the attachment payload.
Did you end up solving this in the meantime, or are you still looking for a way through?Cheers, Martin
It looks like you're new here. Sign in or register to get started.