Skip to content
Browse files

Looking into fixVersion makes more sense

  • Loading branch information...
1 parent 3e37813 commit 6956aed6bc40d43b5f0ffcb8558c925e003d3d5a @adept committed Feb 2, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/ua/astapov/jira/plugins/versionstate/VersionStateCFType.java
View
2 src/main/java/ua/astapov/jira/plugins/versionstate/VersionStateCFType.java
@@ -129,7 +129,7 @@ public Object getValueFromIssue(CustomField field, Issue issue)
final String projectKey = issue.getProjectObject().getKey();
final String issueType = issue.getIssueTypeObject().getName();
// Excluding MTS Project by type
- String jqlQuery = "project = " + projectKey + " and issuetype != \"" + issueType + "\" and affectedVersion = \"" + verName+ "\" and due <= -1d ORDER BY key DESC";
+ String jqlQuery = "project = " + projectKey + " and issuetype != \"" + issueType + "\" and fixVersion = \"" + verName+ "\" and due <= -1d ORDER BY key DESC";
final SearchService.ParseResult parseResult = searchService.parseQuery(authenticationContext.getUser(), jqlQuery);

0 comments on commit 6956aed

Please sign in to comment.
Something went wrong with that request. Please try again.