I have Stash and JIRA configured with an application link configured as OAUTH. On Stash, it will display the issues besides the commits and on pull requests, and, on JIRA, the source tab shows the commits.
However, for some (most?) issues, if I click on them on Stash, I get an empty pop up page instead of being shown the issue. I can search for these issues on JIRA and see them, and other issues do display from Stash.
How do I troubleshoot this?
Update:
There's the following stack trace on JIRA:
2013-07-19 18:23:22,799 http-nio-8199-exec-29 ERROR username 1103x4256060x1 vtj1i3 application-link-ips /rest/api/2/search [onresolve.jira.groovy.GroovyCustomField] javax.script.ScriptException: java.lang.NullPointerException javax.script.ScriptException: javax.script.ScriptException: java.lang.NullPointerException at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:117) at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:216) at javax.script.ScriptEngine$eval.call(Unknown Source) at com.onresolve.jira.groovy.GroovyCustomField.getValueFromIssue(GroovyCustomField.groovy:150) at com.atlassian.jira.issue.fields.CustomFieldImpl.getJsonFromIssue(CustomFieldImpl.java:2227) at com.atlassian.jira.rest.v2.issue.IssueBeanBuilder.getFieldValue(IssueBeanBuilder.java:256) at com.atlassian.jira.rest.v2.issue.IssueBeanBuilder.addFields(IssueBeanBuilder.java:177)
Given the "custom field" thingy, I looked at the fields on tickets, and noticed that all tickets with "Time tracking" do not show up. Any more clues?
Have you reviewed logs in both systems? If there is nothing there, I would recommend turning up logging on both systems, duplicate the issue and then review logs.
Thanks! I'll update the question with more information.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This doesn't explain the underlying problem, but it looks like JIRA has improved the error handling for custom fields in later versions.
https://jira.atlassian.com/browse/JRA-27744
What version of JIRA are you running?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Still on 5-something, but there's a planned upgrade soon.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Daniel,
I was hoping someone would reply before now. I wish I could help, but this is out of my domain.
Forgive the dumb question, but is Time Tracking a core JIRA field or part of a 3rd party plugin? If the latter it may be worth sending an email to the plugin developer.
Charles
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not at all. I tried adding both JIRA and Stash tags, but the system wouldn't let me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Daniel,
I hope you don't mind but I added some JIRA tags to open this up to a wider audience.
Charles
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.