After raising this question, https://answers.atlassian.com/questions/170553/how-to-manage-transition-of-support-issues-to-the-product-backlog-in-jira, I used the built in script to clone an issue if the resolution = "Entered into Product Backlog". It successfully clones the issue and sets the status in the new project to "New" which is correct but it appears to now have invalidated or corrupted existing data in the project. A query in the issue navigator to return all issues in the project where status=new returns invalid results. The newly cloned issues are not returned but 1007 issues which are actually not in status = new are returned. Please Help!
Thanks for your suggestion Danial. Strangely, the issue appeared to have corrected itself a few hours later. An issue search for items where status = New returned the correct 50 records instead of a random 1007 records. As a precaution, we still went ahead with the reindex. All seems ok today. My only concern is that this will happen again when I run the script runner post-function again.
Hey there, Jeannette.
Since you suspect that there might be some invalidated / corrupted data in the project, have you tried to reindex your instance? More over, you can also clear off the outdated / corrupted cache in your instance just to see if it helps (You can backup your instance first if you are concerned that you might hit into any other problems along the way)
Hope this helps.
> The newly cloned issues are not returned but 1007 issues which are actually not in status = new are returned
There's no way it's going to modify 1007 issues - sounds like something else is screwed up. Maybe indexing is broken... as Ahmad says, reindex.
This is the latest I've tried. The condition works but setting the priority doesn't.
issue.resolution?.name == 'Entered into Product Backlog' cfValues['Severity'] = "Level 1/Critical"
Additional Issue Actions:
issue.priority = '1'
The invalid results issue seems to have been resolved.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in talking to 20 people planning t...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs