Share via

Cannot paste into Teams chats correctly

Anonymous
2022-07-25T12:27:35+00:00

Hi,

We've had a weird problem hit our team this week. We use JavaScript to quickly copy and paste formatted links with titles in Teams Chats, but it's recently stopped pasting the title output correctly, but only in Teams chats. We haven't changed the JavaScript at all.

The paste works correctly for external programs like Word and Outlook, but bizarrely not just that work correctly, the paste correctly includes the title still in Teams Channels and code snippets in Chats - just not the Chat box itself.

This isn't affecting all users but once a user is affected, we can't find a solution. I've tried deleting and reinstalling, signing out and in, deleting cache, and the same exact problem happens on the web browser version of Teams too.

Here's the script if that helps troubleshoot our problems:

javascript:;

Normally this would output a link and Jira title such as "QATR-123 Test this area" where the QATR-123 would be linked. Now it only gets up to the end of the link and does not include the "Test this area" section.

Any help gratefully received!

Microsoft Teams | Microsoft Teams for business | Chats | Group chats

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

4 answers

Sort by: Most helpful
  1. Anonymous
    2022-07-26T09:23:30+00:00

    Hi Tommy,

    Unfortunately it's not just my account and device, it's confirmed to be occurring across many different accounts and devices now, including people in office and people who are still working from home.

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2022-07-26T16:07:04+00:00

    Thanks Tommy, much appreciated. We'll reach out to our admins first and move onto the feedback channel if they can't find a solution.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2022-07-26T15:34:49+00:00

    Hello Samantha,

    According your description, it seems this is organization wide issue that cannot pasting JavaScript commands in Teams chat correctly. Regarding this point, we are thankful for you let us know the tested result, and this issue should be related to backend and product design parts. Because of permission difference, we do not have such resources and tools to solve this situation. We kindly suggest you contact the admin in your organization to raise up a support ticket to contact our dedicated backend team by referring Contact Microsoft Office Support.

    In addition, you can also report this issue on our dedicated feedback channel: Microsoft Teams · Community. When our developer team notice this, they might make JavaScript commands works normally in chat in the future.

    Your kind understanding and co-operation will be greatly appreciated.

    Sincerely,

    Tommy | Microsoft Community Moderator

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2022-07-25T19:17:03+00:00

    Dear Samantha,

    Good day! Thank you for posting to Microsoft Community. We are happy to help you.

    Based on your description, we are glad to you tried many steps to resolve this issue, we are sorry to know this issue still persisting.

    Regarding this point, we need to confirm with you, whether this scenario only happening on your account in your organization (specific account)?

    Also, please check with your collogues texting with exactly same scripts in Teams on their device to check whether issue occurs.

    If this issue only happening on your device, please use different device to log into your account and texting same JavaScript scripts and check whether issue happens.

    It will be great help us to narrow down this issue.

    Sincerely,

    Tommy | Microsoft Community Moderator

    Was this answer helpful?

    0 comments No comments