Problem with JMC and Hockey integration

Hi,

I am currently adding JMC support to our iOS app, which already has the HockeyApp SDK integrated.

I followed this guide: https://developer.atlassian.com/display/JMC/Integrating+JMC+with+HockeyApp+Already+Installed

but when I try to send a feedback, it's not working.

If I add this call to the AppDelegate:

[[JMC sharedInstance] configureJiraConnect:@"https://connect.onjira.com/"
projectKey:@"NERDS"
apiKey:@"591451a6-bc59-4ca9-8840-b67f8c1e440f"];

then the feedback sending works. But it should work without this, right?

If I add the above lines AFTER the HockeyManager calls, the app even crashes. When called BEFORE, it works.

What irritates me a bit is this line:

"The class CNSHockeyManager automatically fetches the API token and project key for JMC from HockeyApp..."

My hockey SDK (last one from https://github.com/bitstadium/HockeySDK-iOS) does not contain a CNSHockeyManager class, but a BITHockeyManager class. Is this the source of the problem? Where do I get the CNSHockeyManager?

Does anyone have similar problems with JMC and hockey?

Best regards

Michael

2 answers

Hi Michael,

I guess now you are using https://connect.atlassian.net NOT https://connect.onjira.com/. While in your attached configurations it seems that you are using https://connect.onjira.com/ instead of using https://connect.atlassian.net/. Did you try to change that and give a try?

Cheers,

Omar

Hi Omar,

thanks for your reply.

The code above is just dummy code, I do not really use. Actually the URL is like this:https://[our_company_name].atlassian.net/

I copied it from the settings/JMC section of the administration page of the project, so i guess it should be right.

Should I try https://connect.atlassian.net ?

But it says Add the above line of code to your App. So I think this should be the correct URL, right?

Cheers

Michael

I guess you should try this URL https://connect.atlassian.net/. as onjira shouldn't be valid anymore.

Let us know how it goes with you!

Hi Omar,

the thing is, as I read the documentation, I should not add the call to JMC at all, if I have hockey integrated:

"The class CNSHockeyManager automatically fetches the API token and project key for JMC from HockeyApp, so you don't need to adjust the configuration in your AppDelegate.m file." (from https://developer.atlassian.com/display/JMC/Integrating+JMC+with+HockeyApp+Already+Installed)

But maybe I just read it wrongly and the [JMC sharedInstance] configureJiraConnect call is necessary, allthough hockey is installed.

Can you verify that?

Regards

Michael

Hi Omar,

thanks for your reply.

The code above is just dummy code, I do not really use. Actually the URL is like this: https://[our_company_name].atlassian.net/

I copied it from the settings/JMC section of the administration page of the project, so i guess it should be right.

Should I try https://connect.atlassian.net ?

But it says Add the above line of code to your App. So I think this should be the correct URL, right?

Cheers

Michael

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,760 views 11 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot