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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


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
Community Members
Community Events
Community Groups

Issue with screen schemes after bulk deleting issue type screen schemes with no projects

 ran the bulk delete issue type screen schemes provided at on a test instance.

This appeared to work fine / same as if I manually deleted. 

However, then when I ran the bulk delete screen schemes script from this same page, it failed to delete any screen scheme that had been connected to the bulk deleted issue screen scheme.
Also, in the UI, while there was no relationship displayed to the old issue type screen scheme names, a bullet appeared with no text. Also, the "delete" link did not appear in the UI.

I then used a modified version of the delete script to audit the relationship between the issue type screen schemes and screen schemes and based on this, it appears that one issue type screen scheme is still connected to all of these screen schemes even though none is visible in UI.

Any thoughts/suggestions? Anyone else have this issue?

Thank you!
Donna J.

1 answer

0 votes
John Price
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.
Mar 09, 2021

This is old but I just encountered the same problem and am working on a solution with Atlassian.  In my case, there were records in the IssueTypeScreenSchemeEntity table that were pointing to deleted IssueTypeScreenSchemes.  This is the table that links Issue Type Screen Schemes to Screen Schemes.  I wrote the following SQL that exactly predicted which items on the Screen Schemes page will have empty bullet points:

-- IssueTypeScreenScheme to ScreenScheme relations
-- where the referenced issue type screen scheme does not exists
SELECT entityid, sse.scheme issuetypescreenschemeid,
sse.fieldscreenscheme screenschemeid, screenschemename
FROM IssueTypeScreenSchemeEntity sse
LEFT JOIN IssueTypeScreenScheme ss
ON sse.scheme =
LEFT JOIN fieldscreenscheme fss
ON sse.fieldscreenscheme =

I'm waiting to find out if it's safe to manually delete these records with something like:

DELETE FROM IssueTypeScreenSchemeEntity sse
SELECT id FROM IssueTypeScreenScheme
WHERE id = sse.scheme)

Thank you, @John Price . Did you ever get confirmation this delete was safe?
Asking because even though newer groovy cleanup scripts have been posted, they only solve part of my problem and still leave behind orphaned data -- I believe in the IssueTypeScreenSchemeEntity table.

Also, as an FYI, your solution seems to be in sync with final sql cleanup that appears if might be required if you had run the original Adaptavist script that I did. The sql I am talking about was posted here:  by Adam Martin in 2019. 

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events