I had certain issues flagged with a version in JIRA. I removed the version (without removing it from the issues first) and now the affected issues aren't displaying on the Kanban board any more.
This is because the query of the board won't return those issues:
project = KEY and (fixVersion in unreleasedVersions() OR fixVersion is EMPTY)
This is because for the affected issues somehow the Version field is in limbo and is neither empty, nor containing a version... I tried to clear the value of the Version field through bulk edit, I also similarly tried to set a different version, then clear the field. However nothing will make the issues display, only adding another version to them. Re-indexing didn't help either.
How can I completely wipe out the Version field of these issues so they are matched by the query, or how can I otherwise solve the issue?
Thanks in advance!
The problem is caused due to this bug: https://jira.atlassian.com/browse/JRA-22351
A database update is required to workaround the problem until the problem is fixed.
Unfortunately this is the case.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
change the query for the board to project = KEY
That should display the missing issues also. Check the version number for these.
Bulk update the version for the 'missing issues' to a consistent value other than empty, say 'LATER'
change the query for the board to project = KEY and version = LATER
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So if I understand correctly you advice adding a version to the affected issues. This is a workaround I though about (see the question) but I'd rather not have a version specified for the issues (this is why I removed the version in the first place) and would like to handle them as if their version would be empty, as it appears.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You're right, you really should not have to do this. It should be empty
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The reindex should have fixed as Nic advised... maybe try renaming 3 folders within the caches/indexes folder found in JIRA install directory and then perform a locked re-index. Once completed remove these renamed folders which are (changes, issues, entities).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm on Cloud so this is not an option unfortunately.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ahh so it is, putting a request into Atlassian support may help, though I doubt they will go into that level of support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you delete a version, it should be stripped off the issues as well. How did you do the "remove" of the version?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Under Project admin/Versions. The version is not actually visible under the issues but still the above query indicates that the Version field is not empty.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I apologise, I was not clear there. When you "removed" it, what do you mean? Merge? Release? Archive? Delete?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It was Delete.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, that sounds like a bug - when I delete a version on the demo system I have here, it is removed from all the affects/fix version fields in my project Could you try re-indexing the project (in the project admin screen) and check the Kanban board again?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I see. I tried re-indexing (also mentioned it in the question) but it didn't help. I'd delete and re-add the issues in questions but there are dozens of them.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Right, so you are on Cloud. When you deleted the version, which option did you choose? "Remove version" or "swap to other version"?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It was Remove version. The affected issues don't have any version (that is visible) specified right now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, this definitely needs to go to Atlassian support. The query "project = Key and fixVersion is empty" should be returning these issues (assuming there was only one fixVersion, and that's the one you deleted). The next step would be to read the logs, but you can't on Cloud. It's definitely broken, and they need to take a look for us.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is what happened, so yes, I think too that there is not much else to do. Raised a ticket, will come back if it's solved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great work @Nic Brough [Adaptavist] helping troubleshoot! (y)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.