Skip to content

Commit

Permalink
Altered the JQL for release changes to ignore issues that were both c…
Browse files Browse the repository at this point in the history
…reated and fixed during the specified version
  • Loading branch information
Emily-Steel committed Nov 11, 2015
1 parent 5f1f2d2 commit 22c0e68
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions jira/json_provider.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@ module Jira
class JSONProvider < IssueProvider
def get_version(version_id)
Jira::Utils::search_issues(
"fixVersion = #{version_id}"\
" AND status = Done"
"project = #{Jira::config["project"]["name"]}"\
" AND fixVersion = #{version_id}"\
" AND ("\
"affectedVersion != #{version_id}"\
" OR affectedVersion = null"\
")"\
" AND status = Done"\
)
end

Expand Down

0 comments on commit 22c0e68

Please sign in to comment.