Commit Graph

66 Commits

Author SHA1 Message Date
Cory Bennett 4db2e4e8b4 allow create template to specify defalt watchers with -o watchers=... 2015-02-20 14:29:33 -08:00
Cory Bennett affd313cf7 update README.md 2015-02-20 14:29:19 -08:00
Cory Bennett 7a2f7f5726 if config files are executable then run them and parse the output 2015-02-20 13:37:24 -08:00
Cory Bennett c7f1133500 update usage 2015-02-19 18:03:33 -08:00
Cory Bennett 1d76e8f289 bump version 2015-02-19 13:09:32 -08:00
Cory Bennett 343fbb6e56 add --template option to export-templates to export a single template 2015-02-19 13:07:46 -08:00
Cory Bennett 63a1fd9c60 update for table template 2015-02-19 12:38:12 -08:00
Cory Bennett 8954ec1cfa add "table" template to be used with "list" command 2015-02-19 12:36:51 -08:00
Cory Bennett 21d3c884bc prevent line wrapping 2015-02-19 11:17:33 -08:00
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