Can't display issues
Problem
The Bitbucket Server JIRA issue column for commits has a link to the JIRA issue but when clicking on the link, the following message/screen is displayed:
Can't display issues
Either you don't have access to view them or they don't exist.
Please contact your system administrator if you believe this is incorrect
Diagnosis
The following appears in the Bitbucket Server Log, <BITBUCKET_HOME>/log/atlassian-bitbucket.log
2014-01-24 12:43:18,470 WARN [http-bio-8444-exec-191] user 763x68923x0 1hl6xhz 10.74.229.84,10.108.34.81 "GET /rest/jira-integration/latest/issues HTTP/1.1" c.a.i.i.jira.DefaultJiraService The constructed JQL could not be parsed: JiraErrors{errorMessages=[Internal server error],
The following appears in the JIRA Log: <JIRA_HOME>/log/atlassian-jira.log
2014-01-24 12:43:18,362 http-bio-8085-exec-40 ERROR user@company.com 763x34019x1 1fm7d2q 10.98.224.116,127.0.0.1 /rest/api/2/search [jira.rest.exception.ExceptionInterceptor] Returning internal server error in response
java.lang.reflect.InvocationTargetException
...
Caused by: java.lang.NullPointerException
...
Cause
Certain versions of JIRA are affected by a bug where issues cannot be correctly transitioned via the REST API. See - JRA-32132Getting issue details... STATUS for more information.
Resolution
- JRA-32132Getting issue details... STATUS has been resolved in JIRA 6.2.2 and higher. You should upgrade JIRA to take advantage of this bug fix.
Still having problems?
We've got some more troubleshooting guides that may help you out: