Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Slack link previews for custom apps/bots that include JIRA links

Peter LaBanca
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 21, 2023

We have an app that sends a custom formatted message to Slack during our code building process. This message includes many valuable data points, one of which is the JIRA ticket(s) that the build addresses.

The problem here is that this bot isn't logged in to JIRA, so any previews generated by its messages only show "Log in with Atlassian account" rather than an actual preview. This is not only unhelpful, but it also clutters up the Slack channels with these previews.

I know I can disable previews entirely, or by channel. However, these previews are very useful when real users who are logged into JIRA use them, as the previews actually work then.

Instead, it would be nice if we could do one of two things:

  • Allow a custom app/bot to have authorization to view JIRA tickets so previews work (this would be ideal)
  • Ability to include something in the link, such as a query parameter, that disables the unfurl for that URL only. We could then have our custom app/bot add that parameter to its links.

If there is another solution I am not thinking about, I am open to them.

1 answer

1 accepted

0 votes
Answer accepted
Peter LaBanca
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 21, 2023

I figured it out. These links are just Slack's link preview rather than the JIRA app's ticket preview. I was able to disable Slack's link preview for the atlassian.net domain and things worked fine. I don't know how to close this question out.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events