Skip to content

Commit

Permalink
hmm
Browse files Browse the repository at this point in the history
Signed-off-by: Darin Pope <[email protected]>
  • Loading branch information
darinpope committed Nov 1, 2021
1 parent d3f7bc2 commit 586cc75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vars/jiraProcessChangeLogItems.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def call(Map config=[:]) {
println it.fromString + '; ' + it.toString
def fromTo = [it.fromString,it.toString]
switch(fromTo) {
case {it == ["Backlog","Selected for Development"]}
case ["Backlog","Selected for Development"]:
// def component = currentBuild.getBuildCauses()[0]?.event?.issue?.fields?.components[0]?.name
// def fixVersion = currentBuild.getBuildCauses()[0]?.event?.issue?.fields?.fixVersions[0]?.name
// def m = [
Expand All @@ -21,7 +21,7 @@ def call(Map config=[:]) {
// println json.toString()
//publishEvent(jsonEvent('{"foo":"bar"}'))
break;
case {it == ["Selected for Development","In Progress"]}
case ["Selected for Development","In Progress"]:
// def component = currentBuild.getBuildCauses()[0]?.event?.issue?.fields?.components[0]?.name
// def fixVersion = currentBuild.getBuildCauses()[0]?.event?.issue?.fields?.fixVersions[0]?.name
// def m = [
Expand Down

0 comments on commit 586cc75

Please sign in to comment.