Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,552,585
Community Members
 
Community Events
184
Community Groups

Jira sub tasks issue - giving error

Edited

After migrating the data from Jira cloud to Jira server, we have observed that for issuetype = 'subtask', the description field is giving below error message.

Kindly provide me your valuable suggestions

An error occurred whilst rendering this message. Please contact the administrators, and inform them of this bug. Details: ------- org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getHtml' in class com.atlassian.jira.web.component.subtask.SubTaskSequenceColumnLayoutItem threw exception java.lang.NullPointerException: null value in entry: actualSequence=null at templates/jira/issue/table/macros.vm[line 117, column 34] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:342) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:507) at

3 answers

1 accepted

3 votes
Answer accepted

Hi All,

Atlassian recommended with the below solution which apparently fixed the issue. Please try it out from your end.

I have checked the information you provided and it appears that there is an inconsistency in your database.  Thank you for letting us know that you already ran the integrity checker and performed a re-index.

Currently the issue looks to be related to the issuelink table, can you please take the following steps?

  1. First run this query to see if there are any null values in the table;

2.   3.  select count(*) from jiradb.issuelink where sequence IS NULL;

  1. If the value is greater than 0 run the following command to retrieve the faulty lines: 

5.   6.  select * from jiradb.issuelink where sequence IS NULL;

  1. Then adjust the following query where you take the value (here set as example to 10100) from the field LINKTYPE returned by the query in step 2 and run the update statement:

8.   UPDATE issuelink SET sequence = 0 WHERE linktype=10100 AND sequence IS NULL;

 Since the query involves running an update statement, Please ensure to make a native database backup before modifying the database and it is recommended to run the query on database connected to a test environment first before trying on the database connected with production instance.

Thanks

select count(*) from issuelink where sequence IS NULL;

returns to me 1442

so i should run

UPDATE issuelink SET sequence = 0 WHERE linktype=10100 AND sequence IS NULL;

1442 times for every linktype that DDL "select * from issuelink where sequence IS NULL;" displayed for me ?

Hello Alex

You have run below query

select * from issuelink where sequence IS NULL;

After executing, you will be seeing the duplicate numbers in 'linktype' column.

Then you have to run 'UPDATE' query

UPDATE issuelink SET sequence = 0 WHERE linktype= {paste the duplicate number} AND sequence IS NULL;

By executing above query, it will eliminate the duplicate values. You have to keep running till the count to be shown as '0'

After that, please restart JIRA and you will be seeing all the sub-tasks

Thanks

Like # people like this

Yes! That's more understandable, it works like a charm without any restart! Thanks!

One issue here that is left - when user was mention another user i see accountuseerid:... how can i fix it ? it's trying to locate such ID by a new path (after we moved from cloud to server)

I am also facing the same issue.

Please try to add 'users' in user management with apt permissions and check if that fixes the issue.

 

Thanks

Thank you so much, @polavarapu venugopal

Your suggestion above works.

set sequence = 0
Could you explain why this particular value? I don't want it to be magic.

Download this app Cloud Compatibility for Jira  when user was mention another user i see accountuseerid:... 

 

https://marketplace.atlassian.com/apps/1221117/cloud-compatibility-for-jira?hosting=datacenter&tab=overview

Amazing! Thanks!

0 votes
Tuncay Senturk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 28, 2022

Hi @polavarapu venugopal 

Welcome to the community!

Please check this!

It didnt't help.

Tuncay Senturk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 07, 2022

Did you see any issues on Integrity Checker?

Tuncay Senturk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 07, 2022

I recommend doing a full integrity check.

Sure i did. It's not fixed the issue

Hi @polavarapu venugopal , 

I'm having the same issue here. Did you find a solution?

Thanks

so am i. If anyone find solution, pls write here. I'll be happy

Hello 

'Integrity checker' will not be quite helpful in resolving this 'sub-tasks' issue.

I have posted the steps i took to fix the issue. Kindly go through and let me know if you still face the issues.

Thanks

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events