Using the following query:
project = Dexter and status = new and fixversion is not EMPTY
38 matching issues are found. 2 of the 38 return empty field results even though I wanted to see all issues that were new with a fixversion assigned. Why is this?
Once upon a time, the issues were assigned to a fixed version but have since been removed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you ever solve this? The more interesting JQL query is if {{fixVersion NOT in releasedVersions() AND fixVersion NOT in unreleasedVersions() and fixVersion is not EMPTY}} then where and what is it? It must think there is a fix version but I can't see what it is. This narrows the search down to ones that are having this issue. We found this problem because the Kahban board was filtering out issues that we thought should be showing up. The default subfilter is {{fixVersion in unreleasedVersions() OR fixVersion is EMPTY}} and since JIRA thinks the fix version is not empty and since that fix version is not returned from the unreleasedVersion() list, then it drops it from the board. In checking the history of the issues, you can see that a fix version was added at one time, but currently it does not appear in the actual field and there was no log in the history of it being removed. I think, even though the log doesn't show this, that the issue was moved to another project using the move operation. And in this move, the affected and fix versions were stripped because the versions are specific to the project. Either the strip was done improperly by JIRA in the move operation, or there should have been a check to clear those field prior to the move. I have attempted the integrity check, reindex, filling in the field and then clearing it both with an individual and bulk operation, and I can't make it so that JIRA thinks the fix version field is cleared. If i fill in the fix version then sure it temporarily fixes the problem, but since the scenario of the issue was scheduled for a release but now no longer is applies to those issues, then I don't want to have something in the fix version field. I don't have access to SQL since I don't have direct access to the server, but I am a JIRA-administrator and have complete access to the JIRA application (server based commercial license Atlassian JIRA Project Management Software (v6.4.3#64018-sha1:4550402)) and we don't currently plan to migrate to 7 until our version is closer to a non supported state. So if there is a JQL query that I didn't try yet, or something I can do through the web access, then please let me know. One set of steps to reproduce (note that once the problem is produced, there is not a known way to undo it so preferably do not perform this on something you want to appear on a Kanban board otherwise append {{OR fixVersion NOT in releasedVersions()}} to the default subfilter): # Create a test issue or navigate to an existing issue # Fill in the fix Version/s field with an existing version (a new version created from field entry was not tested) # Navigate to the project management page and manage the versions # Choose to delete the version that you associated with the aforementioned issue, as shown in attachment [^JIRA delete version from JIRA project management version manager this results in a problem.PNG] # When prompted that "there are issues related to this version, specify what is to be done with them" select "remove version" (the other option of swap was not tested) # Run the following query with or without the ID for that issue and the issue will appear in the search results {{fixVersion NOT in releasedVersions() AND fixVersion NOT in unreleasedVersions() and fixVersion is not EMPTY AND ID = DMZ-48}} or {{fixVersion NOT in releasedVersions() AND fixVersion NOT in unreleasedVersions() and fixVersion is not EMPTY}} and also the issue will drop of a Kanban board if it was there before and the board uses the default sub filter. Proven proper way is to delete a version from the issues it is contained in BEFORE deleting it from the version manager: # Run the JQL query on the version you want to remove {{fixVersion = "Test 1"}} and may also need to be done for affected version. # Perform a bulk operation on all issues to "Change Fix Version/s" select field action "Find and remove these" and type in the version to delete. # JQL query on the issue ID itself {{fixVersion NOT in releasedVersions() AND fixVersion NOT in unreleasedVersions() and fixVersion is not EMPTY AND ID = DMZ-48}} or without the ID {{fixVersion NOT in releasedVersions() AND fixVersion NOT in unreleasedVersions() and fixVersion is not EMPTY}} should not return the issue that this operation was performed on and also the issue will stay on a Kanban board if it was there before and the board uses the default sub filter.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you try this for the two issues that return empty fix versions?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
select SINK_NODE_ID from nodeassociation where ASSOCIATION_TYPE='IssueFixVersion' and SOURCE_NODE_ID in ( select id from jiraissue where pkey in ('IMP-2340','IMP-2339') );
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you do a reindexing and see if that fixes the issue?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.