Microsoft Teams for Jira - Jira ID is not working - Unable to authorize

devsuresh2005
Contributor
May 17, 2021

Hi Team,

I have installed 'Microsoft Teams for Jira' app in my Jira instance and configured the Application link as per the documentation. Also, installed the Jira Server App on my teams.

When I try to connect for the first time for using the BOT from Teams, I am able to successfully authorize and use the bot.

But with the same JIRA ID my team members are not able to authorize, they get the following error, screenshot FYR,

image.png

After they try it gets auto logged out for me as well and I get the same error.

Any inputs much appreciated.

Thanks.

3 answers

1 accepted

1 vote
Answer accepted
devsuresh2005
Contributor
June 19, 2021

Hi All,

The following solution worked for me,

  1. Uninstall the MS Teams Integration App
  2. Restart Jira
  3. Reinstall the app

More details at here.

Thanks

Aravind Koushik Gobburu
Contributor
July 29, 2024

Hello @devsuresh2005, can you please share the ticket with me please we are also having the same issue. We will follow the steps mentioned by vendor

Thanks in advance!

1 vote
Sharyn Hansen_ Nic Tiong May 26, 2021

Hi All

I also have the exact same issue as devsuresh2005 and similarly when I reinstall the Add-on in Jira I also get the same JIRA ID and the same issue.

Has anyone had any luck with this issue since posting.

Appreciate any assistance.

Sharyn

0 votes
Vikrant Yadav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 17, 2021

Hi @devsuresh2005  Check the Microsoft Teams for JIRA plugin Configuration to get correct JIRA unique Id. Install JIRA server in JIRA Server connector in MS Teams. 

Then type Connect >> Press enter >> Enter JIRA ID.

Vikrant Yadav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 17, 2021

As per the screenshot, it seem that you are entering worng JIRA id , might space in unique ID. 

devsuresh2005
Contributor
May 17, 2021

Hi Vikrant, thank you for your inputs but the same JIRA ID works for the first time but not working for others and for me too from the second time. Thanks.

Vikrant Yadav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 17, 2021

Try to reinstall the add on in JIRA . Then use new jira unique ID available in Configuration. 

devsuresh2005
Contributor
May 18, 2021

Hi Vikram, thank you for your inputs again. I tried it multiple times (uninstalling the add-on Jira and the app on MS Team and reinstalling everything fresh), I get the same JIRA ID and the same issue.

As soon as I reinstall, the first person is able to authenticate successfully then if anyone else tries to authenticate with the same Jira ID then it gets logs out for the first person as well and nobody is able to log in until I reinstall again.

Weird right? :(

Thanks.

Vikrant Yadav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 18, 2021

Hi @devsuresh2005  H.mm... it weird but possible to fix. I think some steps are missing. Have you tried to create application link again .Check correct public key is added in Application Link, oathkey and Consumer Name is correct. 

 

Are you sure you are using JIRA server not cloud ?

 

 Let me know, we will try to fix.

Thanks

devsuresh2005
Contributor
May 18, 2021

Hi @Vikrant Yadav ,

Thank you for your time.

Here is the screenshot, it works well for the first time.

image.png

And here are my incoming authentication configurations,

image.pngimage.png

And I have not configured any outgoing authentications FYI.

Hope this helps. 

Thanks.

Vikrant Yadav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 19, 2021

@devsuresh2005  You have already performend all troubleshotting steps tried to reinstall, create new application link  and tried to reconnect but still not working. 

I suggest you to raise a ticket with Vendor, vendor can suggest what is the issue with key. 

you installed plugin from Marketplace right ?

Thanks

devsuresh2005
Contributor
May 19, 2021

@Vikrant Yadav

Thank you again for your valuable time. 

Yes, I installed it from the marketplace.

I did post in support, will keep posted if I hear back.

Thanks.

Vikrant Yadav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 19, 2021

This is support email address :- MicrosoftTeamsIntegrationsSupport@softserveinc.com

 

Thanks!

Like devsuresh2005 likes this
devsuresh2005
Contributor
May 27, 2021

@Vikrant Yadav 

I did notice this error,

ERROR      [c.microsoft.signalr.HubConnection] HubConnection disconnected with an error: Server timeout elapsed without receiving a message from the server

Any inputs?

Thanks.

Vikrant Yadav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 27, 2021
Vikrant Yadav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 27, 2021

You can use Webhook for now, so that you can notification in MS Teams Channel when issue get updated or Created. But with this you can't create or modify issue.

I have tried to reinstall everything on my side like JIRA Connector in MS Teams and MS Team for JIRA plugin. It works fine. 

 

When you click on Connect , it ask for your Office365 credentials ? On my side it ask for O365 username then TLS Certificate popup comes i click on that then only JIRA ID windows comes. 

Thanks,

Vikrant

William Tanner
Contributor
August 25, 2021

Atlassian released an update of the plugin in July (version 2021.07.57) which is suppose to fix this problem.  We have upgraded the plugin to the new version and are still experiencing the same problem.  In our logs we see the following error repeated several times:

 

Timer-0 ERROR [c.microsoft.signalr.HubConnection] HubConnection disconnected with an error: Server timeout elapsed without receiving a message from the server.
Any suggestions?  Flush the plugin cache?  Something else?

Suggest an answer

Log in or Sign up to answer