Permalink
Browse files

Assign to me when branching

  • Loading branch information...
1 parent da72569 commit 2c28ca1748b48af15ae869799d5dfceb38ac27cb @brunon committed Sep 16, 2011
Showing with 10 additions and 2 deletions.
  1. +1 −1 src/main/scala/gitjira/actions/branch.scala
  2. +9 −1 src/main/scala/gitjira/jira.scala
@@ -16,7 +16,7 @@ case class BranchAction(number: Int) extends GitJiraAction {
val branchName = "%s-%s/%s" format(JIRA shortname, number, issue summary)
config log { "Branching for JIRA %s: %s" format (issue id, branchName) }
- // TODO must assign jira issue to me
+ jira assignToMe issue
jira transition (issue, StartProgress)
@@ -22,7 +22,15 @@ trait JIRA {
def logWorkDone (issue: JiraIssue, workDone: String)
}
-case class JiraIssue(key: String, number: Int, summary: String, description: String, status: JiraStatus, assignee: String, fixVersions: Map[String,String]) {
+case class JiraIssue(
+ key: String,
+ number: Int,
+ summary: String,
+ description: String,
+ status: JiraStatus,
+ assignee: String,
+ fixVersions: Map[String,String]
+ ) {
val id = "%s-%s" format (key, number)
}

0 comments on commit 2c28ca1

Please sign in to comment.