Whenever I enter a GitHub URL in Confluence I see this:
Clicking on Connect your account to preview links does nothing. Well, it opens a new tab and then does nothing. Something is broken. How do I connect it or somehow get rid of it?
Hello there,
Welcome to Atlassian Community. It's nice to meet you.
I've been able to replicate the same issue, and I think it should work after you connect your user. So I've raised a bug for the problem below:
Click This affects my team and you will automatically be added to the list of watchers. You will then receive any updates in the future about this bug.
Thank you for your understanding.
Regards,
Shannon
Thank you Shannon.
How do I connect my user?
You're welcome!
When you click the link, it does take you to Github where you can connect your user, but it seems that Confluence isn't recognizing that. This is the bug. So for the time being, there's not a way to link it on Confluence so that this error message will go away. In the meantime, you'll need to link it as a text link instead.
That will at least allow you to link to Github without the error.
Let me know if you have any questions.
Does not work on linux. Still get the connect your account messages.
Hello Mitchell,
This issue is occurring when a link to a Github account is pasted into Confluence without adding it manually as a text link.
It is still an open bug without a resolution at this time, but the workaround is to create a text link instead. You can do this using the steps I let @J. Pablo Fernández know about earlier.
Let me know if you have any trouble with this and I'll be happy to help!
Hello all!
This issue has now been resolved and once I login to my Github account, I no longer see the error message.
Please confirm that the issue is also resolved for you and if you continue to encounter issues, please let me know.
this thing is SUPER ANNOYING. how to disable this feature and keep the ticket comments the same as you write them ?
PS: i do not want to connect my github account
If you wish to disable the smart link feature altogether from the comments in Jira you can modify the renderer from Wiki Style Renderer to Text Renderer.
https://confluence.atlassian.com/adminjiracloud/specifying-field-behavior-776636443.html
Also dropping the bug ticket for this here:
https://jira.atlassian.com/browse/JRACLOUD-72988
Thanks to @Belto for providing the workaround for Jira Cloud!
@J. Pablo Fernández @dmitriy @mitchell balsam,
This workaround is for Jira only. For anyone who tries this, just be aware that it will disable wiki-style rendering on the field completely.
I just discovered a workaround alternative for both Confluence and Jira. Insert the link with http:// instead of https://. This will break the Smart Card linking feature. For the services I tested, it redirects the user to https:// in the end.
I've created the following feature requests for the ability to disable this message, or to disable the Smart Card behavior for specific links:
Please vote on the request that pertains to your product if this is something you wish to see in the future.
Thank you all for your help on this!
@Beltowe would like to keep `wiki style renderer` because it highlights links to issues
we just do not use github and we are not going to connect github accounts in our jira project. but we do work extensively with open source packages / issues and that's why a lot of our jira tickets contain lots of github links.
is that possible to set up the wiki style renderer itself and disable github integration?
thanks!
I agree. Seeing "Connect your account to preview links" is not only annoying but also an invasion into the privacy of the GitHub account.
I get the feeling that the good folks of Atlassian have not thought this through completely. Or if they have, we need to be concerned with nefarious intent.
Hello Michael,
This particular issue was resolved about a week after @J. Pablo Fernández reported it to me. I can confirm it's fixed for both Jira and Confluence and I no longer get the message when adding my Github link to a page in Confluence or an issue in Jira.
It's very odd that you are encountering it today. Could you please raise a ticket with our Cloud Support Team? We can have a look at your error logs and try to determine why you might still be seeing this message.
Thank you for your help!
Are you adding the link as "http://" or "https://"? Because they behave differently.
Michael,
Thank you for bringing that to my attention. You're right; it appears that it was only resolved for users when they enter github.com/username or http://github.com/username and NOT https://github.com/username.
I'm bringing this to the attention of the editor team right away and I will let you know what I find out.
Thank you again!
How can I get rid of the nagging? Regardless of the “feature” working or not, I will not connect Atlassian to my Google, Github, etc account, period. Please accept that and give an option to dismiss the nagging for good.
Hello Andras,
Thank you for following-up on this case.
I created the request below to track this feature:
I'm linking it with the internal case, so please add your feedback to that ticket.
There's not a way at the time to cancel the nagging, but you can use the following workaround to just insert as a normal link:
When inserting the link, be sure to use http:// instead of https://. The Smart Card feature will not be activated, and upon visiting the URL, it will automatically redirect to https:// for these services. Alternatively, you can press Ctrl + Z (Windows) or Cmd + Z (macOS) (to revert the link to a normal blue link).
When inserting the link, be sure to use http:// instead of https://. The Smart Card feature will not be activated, and upon visiting the URL, it will automatically redirect to https:// for these services.
Alternatively, you can press Ctrl + Z (Windows) or Cmd + Z (macOS) (to revert the link to a normal blue link).
I hope that helps, but let me know if you have any trouble.
As Shannon said, add comments to https://jira.atlassian.com/browse/CONFCLOUD-67922 This simply has to be fixed.
One workaround that's working for me in JIRA is to press ctrl-Z (cmd-Z in Mac) right after the preview appears. The preview should be removed, leaving a normal text link in it's place.
This is super annoying!
I figured out that currently only way how to open link is to right click on link and pick "Copy link" from context menu. Or just be very quick while page is loading and link was not yet transformed.
It's not just Github links problem but also Google Docs - Atlassian wants to see all documents in Google Drive what is crazy.
Please please, remove this functionality.
Can confirm that the Ctrl+Z workaround does not work on Linux.
We're about to implement Confluence org-wide and are considering postponing until it is possible to disable these "smart links". Is there a target date for this? As far as I can see from the linked Jira issue, this is not being worked on.
Super annoying thing! Please fix it!
I found workaround
First, install http request blocker for chrome
https://chrome.google.com/webstore/detail/http-request-blocker/eckpjmeijpoipmldfbckahppeonkoeko/related?hl=en
then, block
*://yourcompany.atlassian.net/gateway/api/object-resolver/resolve/batch
That api tries to get data to replace your orginal link to preview img or something.
It will show you original link, insted of annoying message
In english:press Ctrl + Z (Windows) or Cmd + Z (macOS) to revert the link to a normal blue link... after pasting any link into an atlassian box...You can fix a link that has been wrapped by atlassian by copy pasting it using copy link address.Per https://www.atlassian.com/trust/roadmap?tab=complianceFor what purpose are you requesting users connect external accounts be linked, where can I read about how you will only use this information to "preview links"?Are you aware that this "feature" is violating the concept of least privilege and encourage users to disclose information unnecessarily, that might harm them or you?https://www.sec.gov/Archives/edgar/data/1650372/000104746915008972/a2226703zf-1a.htm"If our security measures are breached or unauthorized access to customer data is otherwise obtained, our products may be perceived as insecure, we may lose existing customers or fail to attract new customers, and we may incur significant liabilities."When I paste a google docs link into atlassian, your UI lies, and tells me that "You don't have access to that link"... you then build an OAuth link around my link to my document, that when clicked, discloses to google that i'm using atlassian, and grants atlassian read only access to my google doc... if I will just click accept...What you mean to say is "Atlassian can't read your trade secrets or IP behind that link we just noticed you pasted in a chat box... would you like to allow Atlassian to have read-only access to file metadata and file content?"This is the scope of the OAuth Request:
Want to learn more about OAuth Scopes actually mean? https://developers.google.com/drive/api/v2/about-authThink about what happens when that google doc contains trade secrets or IP... think about what happens when atlassian is breached and all those access token with read only access are used to steal all atlassian customer's google docs, who didn't realize what they were doing when they harmlessly "Connected an account to preview links".Developers are invited to review the graphql events logged associated with "smartLink renderSuccess" which includes gems like:nonPrivacySafeAttributes: {linkDomain: ["docs.google.com"]}https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6e446f687a9f513ff76cafbfa8b0131e7481cb74(link to the file doesn't work... but here is the same commit https://github.com/pavithracjs/atlassian-ui-library/commit/6e446f687a9f513ff76cafbfa8b0131e7481cb74)....does this mean this information is privacy safe? or not?This feature is a lawsuit waiting to happen... Please disable it by default, and never prompt users to grant access to external resources, without properly communicating the risks and liabilities associated with the action your software is proposing. If it were possible to disable this behavior I would have just disabled it, instead of posting this detailed explanation of how the "feature" actually works.Can we get an ETA on when this will be possible to disable ?
Lets vote in HN to get this more serious attention https://news.ycombinator.com/item?id=23202723
The easiest way we found to resolve this and a number of other questionable features is...to not use any Atlassian products. For us, it was the 'full access for everyone by default' we couldn't get over.
why do I need to connect to my account for public links? this doesn't make any sense. anyone can view these links as they are public
Any updates on this? We need a way to completely disable this stupid behavior, not just random workarounds that don't always work. Please prioritize this.
Thank You!!! Its Work!
It seems to me that the simplest solution would be for Atlassian to provide a way to turn off preview links entirely.
My team views preview links as a hindrance. We find them useful 0% of the time.
It looks like you're new here. Sign in or register to get started.