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,560,637
Community Members
 
Community Events
185
Community Groups

Reindex error after deleting subtasks via postfunction

We recently upgraded our Jira Server instance from 7.2.7 with Scriptrunner 5.4.28, and are now using Jira Server 8.13.3 with Scriptrunner 6.27.0.

I have a transition in a workflow which sends the issue back to draft status. One of the post functions is a ScriptRunner script that deletes all subtasks. There are a few other post functions performed after this, and then the transition is completed.

The transition worked perfectly without errors until we upgraded. Now it completes, and all post functions are performed successfully, including the deletion of the subtasks, but an error appears indicating indexing errors for the subtasks which were just deleted. This error prevents me from doing anything at all (not even acknowledging/dismissing the error) until I refresh the page. When I do refresh, everything appears to be good with the issue. All subtasks are gone, all all other changes were made successfully.

Please see this previous post I made regarding this problem.

Scriptrunner delete subtasks showing indexing errors... 

I am beginning to suspect that there is actually nothing wrong with the Scriptrunner post function, since the subtasks do get deleted.

I have run the integrity checker, with no errors found. I have run all the SQL checks that I've seen suggested here and there, and the only one that has returned any results is:

SELECT * from issue_version where deleted = 'Y';

The issues returned are in fact the subtasks I just deleted. But they DO NOT appear in the [jiraissue] table.

This is where I am stuck. Not sure if they're supposed to still be showing up in the [issue_version] table, or if them still being there is part of the problem.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events