Hello,
can some please guide me in this matter?
I have integrated JIRA mobile connect in my iphone app (iOS) but I would like to customize the crash report that it submits to JIRA. could not find any proper documentation about Jira Mobile Connect.
Any help will be appriciated.
Thanks
Anand
Hi Anand,
Please see the following question and corresponding answer for your Android query:
Cheers,
Josh
Hi Anand,
Customization for JMC can be achieved by implementing any of the methods on the JMCCustomDataSource protocol.
There is an example of this in the AngryNerds Sample App. See these methods: https://bitbucket.org/atlassian/jiraconnect-ios/src/bc5e9a7efeb5/samples/AngryNerds/AngryNerds2/Classes/AngryNerdsViewController.m#cl-53
You can currently configure the following:
We will be rolling out more online documentation for these shortly. Thanks for raising this. Let us know if there are any other options you think would be useful.
Other general JMC options are also able to be set on the JMCOptions object that can get set when you configure JMC in your app delegate.
Cheers,
Nick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anand,
If you wish to add that string in the description of the Issue in JIRA, then append it to the description argument in the JMCCrashTransport - (void)send:(NSString *)subject description:(NSString *)description crashReport:(NSString *)crashReport:
method: https://bitbucket.org/atlassian/jiraconnect-ios/src/bc5e9a7efeb5/JIRAConnect/JMCClasses/Core/transport/JMCCrashTransport.m#cl-42
This is currently not a configuration option in JMC, however we could make it one in a future version. I have created http://connect.onjira.com/browse/CONNECT-104 for this.
For the time being, appending to the description, (or setting it to something else) should do the trick.
Cheers,
Nick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nick,
Thank you for your reply. I did see that example. I am trying to do something different.
I have 8 view controllers and I wish to catch exceptions globally not through each viewcontroller. And on the crash report I want to include the following feedbackstring.
NSString *feedbackstring = [NSString stringWithFormat:@"ExName:%@\r\nExReason:%@\r\nExUserInfo:%@\r\ncallStackSymbols:%@ \r\n callStackReturnAddresses:%@\r\nVersion %@",exception.name, exception.reason, exception.userInfo, [NSThread callStackSymbols], [exception callStackReturnAddresses], [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"]];
How can I do it using JMC?
Thanks in advance.
Anand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.