Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Assign to me when branching

  • Loading branch information...
commit 2c28ca1748b48af15ae869799d5dfceb38ac27cb 1 parent da72569
Bruno Navert authored
2  src/main/scala/gitjira/actions/branch.scala
@@ -16,7 +16,7 @@ case class BranchAction(number: Int) extends GitJiraAction {
16 16 val branchName = "%s-%s/%s" format(JIRA shortname, number, issue summary)
17 17 config log { "Branching for JIRA %s: %s" format (issue id, branchName) }
18 18
19   - // TODO must assign jira issue to me
  19 + jira assignToMe issue
20 20
21 21 jira transition (issue, StartProgress)
22 22
10 src/main/scala/gitjira/jira.scala
@@ -22,7 +22,15 @@ trait JIRA {
22 22 def logWorkDone (issue: JiraIssue, workDone: String)
23 23 }
24 24
25   -case class JiraIssue(key: String, number: Int, summary: String, description: String, status: JiraStatus, assignee: String, fixVersions: Map[String,String]) {
  25 +case class JiraIssue(
  26 + key: String,
  27 + number: Int,
  28 + summary: String,
  29 + description: String,
  30 + status: JiraStatus,
  31 + assignee: String,
  32 + fixVersions: Map[String,String]
  33 + ) {
26 34
27 35 val id = "%s-%s" format (key, number)
28 36 }

0 comments on commit 2c28ca1

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