Forums

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

Can you link to a Slack profile in Confluence?

Aaron Westervelt April 6, 2020

I've created a Confluence page with a list of colleagues based on the products they manage. Is there a way to make the contact name a hyperlink that when clicked, opens a Slack conversation between the user and the colleague name they clicked on?

Things I've already tried...

  • I was able to get Slack to open the Workspace Directory for the colleague but I'd rather jump to a conversation if that's possible.
  • This format seems to work in other applications, but couldn't get it to work in Confluence:  slack://user?team=<teamID>&id=<userID>

1 answer

1 accepted

1 vote
Answer accepted
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 6, 2020

Hey Aaron,

I've generally had more luck with https:// links instead of slack:// links. While you can use the "Copy link" function in Slack to get a clickable link for channels, unfortunately this doesn't work for linking everyone to Direct Messages with a specific user:

image.png

I've confirmed the lack of slack:// in the new Confluence editor as a bug:
https://jira.atlassian.com/browse/CONFCLOUD-65866

While protocols like "slack://" don't work as links in the new editor currently, you can create a page using the Legacy editor in Confluence Cloud - the non-standard link protocols do work as expected in the Legacy editor. Just select that template when creating a new page:

image.png

I've noted your case here with the issue for this on jira.atlassian.com, but please feel free to watch and vote on that issue. The link again is CONFCLOUD-65866 .

Cheers,
Daniel

Aaron Westervelt April 6, 2020

Thanks Daniel. If I'm not mistaken, the link you're copying out of Slack is a private link for the discussion between you and the other colleague. If someone else tried accessing that link, it wouldn't let them because they're not part of that Slack conversation (or channel).

Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 6, 2020

Egads - you're absolutely right. That's certainly not going to work for anyone besides yourself!

Combing through more of Slack's documentation, it looks like the easiest method is generating a link to a user's profile:

  1.  The first part of the link is the Workspace URL. For example, https://acmeco.slack.com.
  2.  The second part of the link is the User ID. Multiple members' User IDs can be found using the users.list API method. Or, an individual's User ID can be found by clicking the  More actions icon in a member's profile, then choosing Copy member ID.
  3.  Append the User ID to the end of the Workspace URL. Here’s an example: https://acmeco.slack.com/team/U1H63D8SZ.

but I think you've already been able to get that far? I'll poke at the slack:// protocol a bit and see if there's a way to get that recognized with Confluence.

Like Ed Akagawa likes this
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 6, 2020

Hey Aaron, confirmed this is indeed a Confluence bug. I've updated my answer to reflect this as well as linked the actual bug and a workaround using the Legacy editor in Confluence Cloud.

Aaron Westervelt April 7, 2020

Thx for the prompt feedback Daniel!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events