XMLHttpRequest cannot load - I receive an error when connecting to Toggle, through Jira.

Hi,

we are evaluating the Toggle integration for Jira. However, when connecting to toggle, one receives the following error:

XMLHttpRequest cannot load https://jira.comerge.net/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://jira.uitdatabank.be' is therefore not allowed access.

Therefore, it is not possible to log any time by using the plugin, or synchronize work log entries between Jira & Toggle.

There seems to be a conflict in domains? Any idea what's causing this problem?

Configuration with API key seems to be OK, since the project and users that were configured via Toggl are loaded / mapped when configuring the plugin via Jira.

2 answers

1 accepted

Problem solved. Conflict after changing the username (Jira v6+).

Hi Charlotte! A few people have run into this at different times and there doesn't seem to be an accepted way of solving the problem. I was wondering if you could share some detail about how you fixed it so we can create a knowledge base article that will help others. Specifically, what was the username that you changed?

-Denise

Atlassian Support

Hi,

As from Jira version 6.0., one can change the username of each user. When you change the username, it could conflict with the current version of the Joggler plugin, when trying to connect Jira & Toggld.

I contacted Commerge support, their response: if there is no logged-in jira user you are being redirected to jira.comerge.net(fall back, currently a hard coded value). They created an issue for that and will try to fix it in the next Joggler release.

In the meantime, you can reset the username to the original username. That did fix the problem here. (the username that I changed was just some random user)

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

627 views 6 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you