JMC: Comments don't get pushed to mobile client that created the issue

I have JIRA Mobile Connect creating issues in JIRA (OnDemand) and once an issue is created, I can add replies (comments) to it from my iPhone. I see theose show up in the Comments thread inside JIRA, logging in as an administrator/developer.

However, when I comment on the issue, with visibility "everyone", it doesn't push the comment to the phone. Even when I restart the app, the comment from within OnDemand JIRA never shows up on the iPhone device that created the issue.

What configuration am I missing here?

Do I need to explicitly "Push Comments to Linked Systems" from the comment in JIRA? I tried that, and no systems were linked. Is that related to JMC? Since JMC just needed to be enabled in the OnDemand version, I thought there were no other settings to configure in JIRA OnDemand to get this to work, like in the promo video?

7 answers

1 accepted

Accepted Answer
1 vote
Nick Pellow Atlassian Team Jun 08, 2012

Hi Dmitry,

Sohail is right. Can you try re-indexing your JIRA instance and let us know if that fixes things.

Cheers,
Nick

I also have same issue

I using OnDemand

debug logs doesn't show anything

(same 'Time JIRA last saw this user')

iOS 5.1, TestFlight SDK and Amazon SDK are present

Dmitriy:

Since I didn't do anything explicit when this suddenly started working, I think it was that my OnDemand instance of JIRA itself, just happened to get indexed (I believe this is what Nick postulated in another thread).

So you should give it a shot of going into your OnDemand instance and manually kicking off a re-index (a one button click operation).

Then see if the feedback comes through.

Hi,

I'm having the same issue. I can create tickets from my iPhone app and see it in Jira, but when I add a comment from Jira, I never get it to display in the app.

Have anyone figured out why this is happening?

Thank you

I just realized this is also asked here:

https://answers.atlassian.com/questions/52143/replies-not-coming-through-in-mobile-connect

However, the answer given about conflicting frameworks is vague and needs to be expanded upon.

e.g. if we're using iOS5, we can't "remove" NSJSONSerialization b/c it conflicts with SBJSON. I even tried removing SBJSON, and that didn't work either.

What are likely conflict candidates? TestFlight? Reachability? PLCrashReporter?

0 votes
Nick Pellow Atlassian Team May 19, 2012

Hi Sohail,

When the app starts or is brought to the foreground, JMC will poll JIRA for any comments from the developer. This happens if the App running on that device has previously created at least 1 issue.

There are no other settings needed in JIRA to enable this.

Can you please run your App with JMC DEBUG logging enabled. Instructions for doing this are here: https://bitbucket.org/atlassian/jiraconnect-ios (see step 11).

Something else to check is whether or not the comment is appearing in your Feedback Inbox (issuesViewController) and it is just the Heads Up Display that is for some reason not showing correctly in your App.

Let me know if there are any errors or warnings when you run your app with the JMC_DEBUG pre-processor macrom enabled.

Cheers,

Nick

Hi Nick,

I've enabled that debug flag, and I see logging messages to the console now, for JMC. None of them are errors. Also, for clarification, I've got about a dozen issues I've created from my phone, and I don't see any updates in the table view listing of the issues nor when I navigate into the commenting thread of an individual feedback issue on the phone.

When I tried the same URL I see in the console:

2012-05-20 09:17:50.580 REPS Pro[12411:707] 55 -[JMCPing sendPing] Retrieving notifications via: https://appstronomy.atlassian.net/rest/jconnect/1.0/issue/updates?sinceMillis=1337484919675&uuid=7D2AB780-9CB8-447C-BE90-7D8C78631475&apikey=<somekey>&project=RP

I get this as a response:

{"issuesWithComments":[],"sinceMillis":1337520075685,"crashReportingDisabledInJIRA":false}

The other logging statements that follow this retrieval call seem uneventful:

2012-05-20 09:17:50.901 REPS Pro[12411:707] 73 -[JMCPing didReceiveComments:] Time JIRA last saw this user: 2012-05-20 13:17:51 +0000

2012-05-20 09:17:50.913 REPS Pro[12411:707] 113 -[JMCPing connectionDidFinishLoading:] Flushing the request queue

2012-05-20 09:17:50.915 REPS Pro[12411:707] 62 +[JMCRequestQueue sharedInstance] queue at /var/mobile/Applications/3E804B14-93E8-4CE4-A6B7-BAC3CBBA907C/Library/Application Support/JMC/JMCQueueIndex.plist

And to be sure, I'm looking at issues that I've personally added comments to via my JIRA on-demand website instance.

Any pointers from here much appreciated!

Hi Nick,

I've enabled that debug flag, and I see logging messages to the console now, for JMC. None of them are errors. Also, for clarification, I've got about a dozen issues I've created from my phone, and I don't see any updates in the table view listing of the issues nor when I navigate into the commenting thread of an individual feedback issue on the phone.

When I tried the same URL I see in the console:

2012-05-20 09:17:50.580 REPS Pro[12411:707] 55 -[JMCPing sendPing] Retrieving notifications via: https://appstronomy.atlassian.net/rest/jconnect/1.0/issue/updates?sinceMillis=1337484919675&uuid=7D2A3780-9CB8-447C-BE90-7D8C78631475&apikey=d3125741-7064-41c3-b9e0-0b5d99f645dc&project=RP</span<>>

I get this as a response:

{"issuesWithComments":[],"sinceMillis":1337520075685,"crashReportingDisabledInJIRA":false}

The other logging statements that follow this retrieval call seem uneventful:

2012-05-20 09:17:50.901 REPS Pro[12411:707] 73 -[JMCPing didReceiveComments:] Time JIRA last saw this user: 2012-05-20 13:17:51 +0000

2012-05-20 09:17:50.913 REPS Pro[12411:707] 113 -[JMCPing connectionDidFinishLoading:] Flushing the request queue

2012-05-20 09:17:50.915 REPS Pro[12411:707] 62 +[JMCReq...

 

Following up:

  • I also created a fresh comment on an issue that originated from my phone, in the JIRA on demand instance
  • I then used the same retrieval URL in my browser, and still got an empty results set, as if there were no updates to be had.

Dmitriy:

Since I didn't do anything explicit when this suddenly started working, I think it was that my OnDemand instance of JIRA itself, just happened to get indexed (I believe this is what Nick postulated in another thread).

So you should give it a shot of going into your OnDemand instance and manually kicking off a re-index (a one button click operation).

Then see if the feedback comes through.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

132 views 6 8
View post

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