I found the problem. Enabling JMC_DEBUG
helped me to get to the root of the problem. The error I got in console is shown in my question. The problem was Jira mobile connect user
did not have permission for creating an issue. Giving him a permission to create an issue in the project solved the problem.
UPDATE : To enable JMC_DEBUG
in xcode,
go to Targets
in your project.
Click Build Settings
.
search for Preprocessor Macros
and add this value JMC_DEBUG=1
in Debug section.