Some JIRA issues not showing up on Stash

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?


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(
        at javax.script.AbstractScriptEngine.eval(
        at javax.script.ScriptEngine$ Source)
        at com.onresolve.jira.groovy.GroovyCustomField.getValueFromIssue(GroovyCustomField.groovy:150)
        at com.atlassian.jira.issue.fields.CustomFieldImpl.getJsonFromIssue(

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?

4 answers

1 accepted

0 votes
Accepted answer

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.

This doesn't explain the underlying problem, but it looks like JIRA has improved the error handling for custom fields in later versions.

What version of JIRA are you running?

Still on 5-something, but there's a planned upgrade soon.

Hi Daniel,

I hope you don't mind but I added some JIRA tags to open this up to a wider audience.


Not at all. I tried adding both JIRA and Stash tags, but the system wouldn't let me.

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.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,513 views 15 20
Read article

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