Commit Graph

40 Commits

Author SHA1 Message Date
Cory Bennett f95aa3d261 bump version 2015-02-19 13:09:32 -08:00
Cory Bennett 4d95bde10f add --template option to export-templates to export a single template 2015-02-19 13:07:46 -08:00
Cory Bennett fd4ec5e641 add "table" template to be used with "list" command 2015-02-19 12:36:51 -08:00
Cory Bennett 8c07442645 bump version 2015-02-19 10:31:20 -08:00
Cory Bennett f3feff796f [issue #8] detect X-Seraph-Loginreason: AUTHENTICATION_DENIED header to catch login failures 2015-02-19 10:05:51 -08:00
Jay Buffington 5f7b46173a project should always be uppercase
Jira docs say as much:
https://confluence.atlassian.com/display/JIRA/Changing+the+Project+Key+Format#ChangingtheProjectKeyFormat-prerequisites
2015-02-18 19:26:36 -08:00
Jay Buffington 39a194b858 if response is 400, check json for errorMessages and log them 2015-02-18 17:39:37 -08:00
Jay Buffington 4b6329597b validate project 2015-02-18 17:32:56 -08:00
Cory Bennett 03ad7ee9b2 bump version 2015-02-18 15:02:46 -08:00
Cory Bennett af4952621b adding missing --override arguments to various transition commands
add browse command
2015-02-18 15:01:12 -08:00
Cory Bennett 6e2ee2b865 fill in issuetype before running the "create" template 2015-02-18 11:34:24 -08:00
Cory Bennett 6f0d1f5e44 minor tweak to prevent exceptions in some templates
set default for "commit" command to use editor
2015-02-17 16:03:32 -08:00
Cory Bennett 4524d89435 added created field to "view" template 2015-02-17 11:09:24 -08:00
Cory Bennett 1ac6929e56 fix view template for empty description 2015-02-17 10:40:11 -08:00
Cory Bennett 45fb06f6bf add "transition" editable template so you can modify other fields during transitions
add --noedit/--edit options for various commands
sanitize the yaml from the editor so we dont send empty strings when unedited
2015-02-17 10:19:54 -08:00
Cory Bennett 9bf7533fc2 add --watcher and --reporter options to "list" 2015-02-16 15:27:47 -08:00
Cory Bennett e9c866d38b dont write response to log unless request, otherwise response body will have
been read and unavailable to parse later in client code
2015-02-16 15:19:25 -08:00
Cory Bennett a7399c7f48 [issue #4] make sure ~/.jira.d/tmp exists before we write to it during create/edit 2015-02-16 14:31:39 -08:00
Cory Bennett 9d6fdf73e5 add --queryfields option to restrict data returned from jira search api. This is for performance
as the jira issue data can be quite large and we use almost none of it in the "list" template
2015-02-16 14:06:36 -08:00
Cory Bennett b5f62fb092 dont default issuetype unless it is a require param, otherwise "ls" is restricted 2015-02-16 13:21:15 -08:00
Cory Bennett b616e640dd adding --browse option to most command which should open the issue in your favorite browser 2015-02-16 10:34:04 -08:00
Cory Bennett 14a0ae1cc3 fix inner assignee template 2015-02-16 09:51:22 -08:00
Cory Bennett 25539efedd Merge branch 'nil-assignee' of https://github.com/jaybuff/go-jira into jaybuff-nil-assignee 2015-02-16 09:50:57 -08:00
Cory Bennett 421473140a fix indent for override coments in edit template 2015-02-16 08:53:37 -08:00
Jay Buffington d5ac5e677e default view template shouldn't fail when assignee is nil
The default view template was failing with this error whenever I tried to
view a jira that had no assignee:
assignee: 2015-02-16T08:31:58.564-08:00 ERROR [util.go:109] Failed to execute template: template: template:7:20: executing "template" at <.fields.assignee.nam...>: nil pointer evaluating interface {}.name
2015-02-16 08:48:10 -08:00
Cory Bennett 798016de78 [issue #1] trim trailing / on uri 2015-02-15 21:02:28 -08:00
Cory Bennett e1ee1fc29a tweak usage ordering
fix looking for generic "create" template
2015-02-13 16:48:10 -08:00
Cory Bennett 5c3c02f8d8 dont default endpoint make users specify it on command line or in config 2015-02-13 16:38:01 -08:00
Cory Bennett 76ec33e7e3 tweak getTemplate routine 2015-02-13 16:03:03 -08:00
Cory Bennett 97ad931f79 go fmt 2015-02-13 15:44:07 -08:00
Cory Bennett 4c1e0ec93e adding export-templates command
updated edit template to allow for -o overrides
2015-02-13 14:07:20 -08:00
Cory Bennett 7697594fe2 sort usage options, update README 2015-02-13 13:19:10 -08:00
Cory Bennett 60e4925fe4 add options to ls to allow for dynamically creating some simple JQL 2015-02-13 13:16:18 -08:00
Cory Bennett 48ee9ae8ba add take/give commands 2015-02-13 12:52:35 -08:00
Cory Bennett 0010215242 adding "comment" command 2015-02-13 12:33:47 -08:00
Cory Bennett 44bc16b02e handle various issue state transitions 2015-02-13 12:07:03 -08:00
Cory Bennett 18f10fd125 adding commands:
* create
* dups
* blocks
* watch
2015-02-12 23:41:39 -08:00
Cory Bennett acbc24b209 work in progress, minor refactor. Added commands:
* login
* editmeta ISSUE
* edit ISSUE
* issuetypes [-p PROJECT]
* createmeta [-p PROJECT] [-i ISSUETYPE]
* transitions ISSUE

make --template argumetn work
2015-02-12 15:50:08 -08:00
Cory Bennett bb6b7ee6af update readme, change config location 2015-02-10 16:27:16 -08:00
Cory Bennett 6936b27ea1 initial checkin, work in progress 2015-02-10 16:17:13 -08:00