Integrate JIRA Work Time Calendar with Google Calendar

Hi Volodymyr

I downloaded JIRA Work Time Calendar today and I'm trying to integrate it with a team Google Calendar I set up.  I (think) I followed the instructions for a hosted JIRA environment but I'm getting the following error:

Can not authenticate to google calendar

error: immediate_failed, subtype: origin_mismatch

Background:
  • Using JIRA v6.4.7 in our own secure environment (I have to VPN to our network to access JIRA)
  • Set up a non-public google calendar including what I think are the correct Authorized JavaScript origins and Authorized redirect URLs
  • Enabled the Google Calendar API and created an OAuth 2.0 credentials as per JIRA Work Time Doc
  • Configured JIRA Work Time by enabling Google Cal and added the Client ID calendar URL.

Is there any way:

  • To test that I've configured the Calendar API correctly - using a command line (e.g ping) or open it in a browser window or something?  I was able to test using: calendar.calendarList.list and 

Any hints would be great.  

Thanks

Mike. 

 

 

2 answers

Hi Mike,

Unfortunately configuration of the google calendar integration is not straightforward.

Based on the error I assume that you put wrong values to Authorized JavaScript origins and Authorized redirect URIs. For standalone installations you need to put your JIRA URL. https://jira-work-calendar.com is for cloud instances.

 

 

 

image2016-6-11 17:28:55.png

Please let me know if it helped.

Hey Volodymyr

 

Thanks for your response.  

It prompted me to keep trying some different combinations and I was able to get it to link into the Google Calendar with the following.

Authorized JavaScript origins: https://xxxjirasrvr.xxxintsrvrny.com

Authorized redirect URIs: https://xxxjirasrvr.xxxintsrvrny.com/secure/JWorkCalendar.jspa

Thanks again,

Mike

For me it works with https://xxxjirasrvr.xxxintsrvrny.com for booth Authorized JavaScript origins and Authorized redirect URIs.

Thank you for the update and I am glad that you configured the google integration.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

195 views 0 6
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