summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/models/TicketModel.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-03-11 10:22:33 -0400
committerJames Moger <james.moger@gitblit.com>2014-03-11 10:22:33 -0400
commit706251150991341c004b86831154970402b515e5 (patch)
tree4a1e3ae215029522013db2bc9eda65d721f49bf5 /src/main/java/com/gitblit/models/TicketModel.java
parent397378dee674cb11e3a4f729905a1de5774aa22e (diff)
downloadgitblit-706251150991341c004b86831154970402b515e5.tar.gz
gitblit-706251150991341c004b86831154970402b515e5.zip
Add closed status for milestones and abandoned status for tickets
Diffstat (limited to 'src/main/java/com/gitblit/models/TicketModel.java')
-rw-r--r--src/main/java/com/gitblit/models/TicketModel.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/main/java/com/gitblit/models/TicketModel.java b/src/main/java/com/gitblit/models/TicketModel.java
index 5fd1ed95..fa09ec59 100644
--- a/src/main/java/com/gitblit/models/TicketModel.java
+++ b/src/main/java/com/gitblit/models/TicketModel.java
@@ -1201,13 +1201,15 @@ public class TicketModel implements Serializable, Comparable<TicketModel> {
}
public static enum Status {
- New, Open, Resolved, Fixed, Merged, Wontfix, Declined, Duplicate, Invalid, On_Hold;
+ New, Open, Closed, Resolved, Fixed, Merged, Wontfix, Declined, Duplicate, Invalid, Abandoned, On_Hold;
- public static Status [] requestWorkflow = { Open, Resolved, Declined, Duplicate, Invalid, On_Hold };
+ public static Status [] requestWorkflow = { Open, Resolved, Declined, Duplicate, Invalid, Abandoned, On_Hold };
- public static Status [] bugWorkflow = { Open, Fixed, Wontfix, Duplicate, Invalid, On_Hold };
+ public static Status [] bugWorkflow = { Open, Fixed, Wontfix, Duplicate, Invalid, Abandoned, On_Hold };
- public static Status [] proposalWorkflow = { Open, Resolved, Declined, On_Hold};
+ public static Status [] proposalWorkflow = { Open, Resolved, Declined, Abandoned, On_Hold };
+
+ public static Status [] milestoneWorkflow = { Open, Closed, Abandoned, On_Hold };
@Override
public String toString() {