Commit Graph

57 Commits

Author SHA1 Message Date
Cory Bennett d5330fd78e bump version 2015-02-19 10:31:20 -08:00
Cory Bennett 2dcf665d38 [issue #8] detect X-Seraph-Loginreason: AUTHENTICATION_DENIED header to catch login failures 2015-02-19 10:05:51 -08:00
coryb 4c2d77ccca Merge pull request #7 from jaybuff/empty-projects
validate project
2015-02-18 21:06:55 -08:00
Jay Buffington 1b69d126c0 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 4924dfaab3 if response is 400, check json for errorMessages and log them 2015-02-18 17:39:37 -08:00
Jay Buffington dc5ae42c58 validate project 2015-02-18 17:32:56 -08:00
Cory Bennett 93ef7a2a3e bump version 2015-02-18 15:02:46 -08:00
Cory Bennett 56e3cec6d4 adding simple Makefile to make cross compiling a bit easier 2015-02-18 15:01:47 -08:00
Cory Bennett 13d77c1b4d adding missing --override arguments to various transition commands
add browse command
2015-02-18 15:01:12 -08:00
coryb 4aeba2e34e Update README.md 2015-02-18 14:43:20 -08:00
coryb 4152c37335 Update README.md 2015-02-18 14:38:47 -08:00
coryb 97fccbddeb Update README.md 2015-02-18 13:38:46 -08:00
coryb 2ac1a3e7f2 Update README.md 2015-02-18 13:36:28 -08:00
coryb 0edb1a354c Update README.md 2015-02-18 13:35:53 -08:00
Cory Bennett 8f1e7b6619 add download link 2015-02-18 13:29:20 -08:00
Cory Bennett 646020f8f5 update usage in readme 2015-02-18 11:38:12 -08:00
Cory Bennett 484135e6eb fill in issuetype before running the "create" template 2015-02-18 11:34:24 -08:00
Cory Bennett f7ab5753e9 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 005607d799 added created field to "view" template 2015-02-17 11:09:24 -08:00
Cory Bennett 165e1144ed fix view template for empty description 2015-02-17 10:40:11 -08:00
Cory Bennett 68644878fc 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 2baf87af9f add --watcher and --reporter options to "list" 2015-02-16 15:27:47 -08:00
Cory Bennett 766923be02 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 70fcdd8ef4 [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 018f12e3c9 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 12fc734069 dont default issuetype unless it is a require param, otherwise "ls" is restricted 2015-02-16 13:21:15 -08:00
Cory Bennett 21d9f74635 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 b7bdb43471 Merge branch 'jaybuff-nil-assignee' 2015-02-16 09:51:43 -08:00
Cory Bennett 961ac38a08 fix inner assignee template 2015-02-16 09:51:22 -08:00
Cory Bennett 172ac70046 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 f206ae3ba2 fix indent for override coments in edit template 2015-02-16 08:53:37 -08:00
coryb 52966e0aa8 Merge pull request #2 from jaybuff/clean-up
Clean up
2015-02-16 08:50:36 -08:00
Jay Buffington 7d25d7715f 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
Jay Buffington 30e2237b6a clean up README (mostly spelling fixes) 2015-02-16 08:44:12 -08:00
Jay Buffington 88af72543a add .gitignore 2015-02-16 08:32:18 -08:00
Cory Bennett 3a0867d0ed [issue #1] trim trailing / on uri 2015-02-15 21:02:28 -08:00
Cory Bennett deb3a7255f . 2015-02-13 16:58:57 -08:00
Cory Bennett 51e0a341e8 update for golang minver 2015-02-13 16:58:26 -08:00
Cory Bennett c64f5cf44e udpate usage 2015-02-13 16:48:57 -08:00
Cory Bennett 1054d506b3 tweak usage ordering
fix looking for generic "create" template
2015-02-13 16:48:10 -08:00
Cory Bennett 6f3e25d1a7 udpate Editor section 2015-02-13 16:48:03 -08:00
Cory Bennett 8557c4f384 update 2015-02-13 16:38:20 -08:00
Cory Bennett 1cff26364b dont default endpoint make users specify it on command line or in config 2015-02-13 16:38:01 -08:00
Cory Bennett 5422bfb152 tweak getTemplate routine 2015-02-13 16:03:03 -08:00
Cory Bennett a872b66777 go fmt 2015-02-13 15:44:07 -08:00
Cory Bennett eb0c0823b0 adding export-templates command
updated edit template to allow for -o overrides
2015-02-13 14:07:20 -08:00
Cory Bennett 9c890a02a8 sort usage options, update README 2015-02-13 13:19:10 -08:00
Cory Bennett 618af1a6e1 add options to ls to allow for dynamically creating some simple JQL 2015-02-13 13:16:18 -08:00
Cory Bennett e433c536c0 add take/give commands 2015-02-13 12:52:35 -08:00
Cory Bennett 4a33dd8e20 adding "comment" command 2015-02-13 12:33:47 -08:00