Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Receiving a 500 error when viewing Issue Statuses

joe_dinunzio April 19, 2018

When accessing System > Issues > Statuses: all users are receiving a 500 error:

 

2018_04_19_12_12_50_Oops_an_error_has_occurred.jpg

 

 

We are on a very old instance 6.3.4 but it has been stable until recently. I am at a loss what to check next, the only other 500 error support items I can find relate to different areas within JIRA such as workflows. Here are more details from the error:

 

Referer URL: https://---------------/secure/admin/ViewIssueTypes.jspa

com.google.template.soy.tofu.SoyTofuException: In template JIRA.Templates.Statuses.success: In 'foreach' command {foreach $status in $statuses}{call .statusRow}{param status: $status /}{/call}{/foreach}, the data reference does not resolve to a SoyListData.

 

 

1 answer

0 votes
Andy Heinzer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 19, 2018

Hi Joe,

This specific error is thrown when your Jira database has a duplicate draft workflow and/or when there are orphaned scheme references such as permissions, notifications etc.   There is a comprehensive KB on this specific error in The JIRA application statuses page throws a 500 Error.

There are a pair of diagnosis queries you can run on the SQL database of Jira to determine if what steps would be taken next:

Run the following SQL query on the database (to identify the drafts with more than one entry):

SELECT count(*), parentname FROM jiradraftworkflows group by parentname having count(*) > 1;

For the workflows(not draft), run the following query :

SELECT count(*), workflowname FROM jiraworkflows group by workflowname having count(*) > 1;

 

and also:

DIAGNOSIS: ORPHANED ROWS IN THE NODEASSOCIATION TABLE
select * from nodeassociation where SOURCE_NODE_ENTITY='Project' AND SOURCE_NODE_ID not in (select ID from project);

 

Depending on which of these SQL queries return results will determine the next steps to take to resolve this.  If you have any questions or concerns about following that KB, please let me know the results to each of those SQL queries and I will try to help out.


Andy

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events