diff options
author | James Moger <james.moger@gitblit.com> | 2014-03-11 10:22:33 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-03-11 10:22:33 -0400 |
commit | 706251150991341c004b86831154970402b515e5 (patch) | |
tree | 4a1e3ae215029522013db2bc9eda65d721f49bf5 /src/main/java/com/gitblit/models/TicketModel.java | |
parent | 397378dee674cb11e3a4f729905a1de5774aa22e (diff) | |
download | gitblit-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.java | 10 |
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() { |