Bob Briski
67d3f9b9ef
Fixed null pointer when no response is received
...
* JiraError can now handle nil responses
* Better error handling when the response is not JSON
2017-11-14 17:57:26 -08:00
Andy Grunwald
8686d2a5e0
Merge pull request #89 from rbriski/rbriski/jira_error
...
Adding jira.Error to better wrap jira-specific errors
2017-11-04 00:37:44 +01:00
rbriski
7df17cc390
Merge branch 'master' into rbriski/jira_error
2017-11-03 15:24:23 -07:00
Bob Briski
2eaa9b17ce
Adding jira.Error to all functions that can return a jira specific JSON error
2017-11-03 15:22:32 -07:00
Bob Briski
5655cb856a
Updated test to use already built testClient. Fixed jira error functions to receive jira.Response instead of http.Response
2017-11-02 16:53:36 -07:00
Bob Briski
36974f8b7b
Fixing test to account for non-deterministic map order
2017-11-02 14:40:30 -07:00
Bob Briski
4d547f0f3a
Removed debug Println. Switched test back to correct failure state
2017-11-02 14:27:16 -07:00
Bob Briski
d0531056bb
Adding jira.Error to better wrap jira-specific errors
2017-11-02 10:09:17 -07:00
Andy Grunwald
767d4ea7cb
Merge pull request #88 from guywithnose/pagination
...
Add SearchPages
2017-11-01 19:34:14 +01:00
Robert Bittle
6bfb81bc70
Add SearchPages
2017-11-01 12:19:23 -04:00
Andy Grunwald
f238f400f6
Merge pull request #84 from guywithnose/getWorklogs
...
Add GetWorklogs
2017-11-01 16:39:58 +01:00
Robert Bittle
d1d02ac372
Add GetWorklogs
2017-10-31 12:55:08 -04:00
Andy Grunwald
8a3af9ba5a
Merge pull request #87 from blachniet/master
...
Add GoDoc examples
2017-10-28 20:19:00 +02:00
Andy Grunwald
5f3c0596be
Merge pull request #85 from guywithnose/optionType
...
Add option type to custom fields
2017-10-28 20:17:14 +02:00
Brian Lachniet
82f87eecfa
Add GoDoc examples
2017-10-28 11:51:53 -04:00
Robert Bittle
9ec4d0491e
Add option type to custom fields
2017-10-27 17:24:15 -04:00
Andy Grunwald
820eaa18f8
Merge pull request #83 from blachniet/blachniet-readme-typos
...
Fix typos in README
2017-10-27 17:25:21 +02:00
Brian Lachniet
0e1400b0a9
Fix typos in README
2017-10-26 20:54:57 -04:00
Andy Grunwald
1c664343c3
Merge pull request #82 from LyonesGamer/update-comment
...
Add explicit UpdateComment method
2017-09-04 08:51:25 +02:00
Morgan Patch
418d671092
Add UpdateComment method
2017-08-31 14:46:04 -07:00
Andy Grunwald
1075be4589
Added Golang 1.9 to TravisCI
2017-08-31 15:56:29 +02:00
Andy Grunwald
e844092bb3
Fix #81 : Support gopkg.in
2017-08-31 13:59:27 +02:00
Andy Grunwald
acbc88d595
Merge pull request #79 from netxfly/master
...
Add UpdateIssue method for JIRA 7.4.0
2017-08-16 13:36:43 +02:00
zhaohaifeng [赵海锋]
e88af2595a
add unittest for UpdateIssue
2017-08-16 17:56:08 +08:00
zhaohaifeng [赵海锋]
4a50cc4eb6
add UpdateIssue method for jira 7.4.0
2017-08-03 17:57:24 +08:00
Andy Grunwald
596a6ff4c1
Merge pull request #78 from l0wm4x/feature/add-value-type-datetime
...
just added value type 'datetime' to the list in InitIssueWithMetaAndF…
2017-07-31 10:48:36 +02:00
Peter Bueschel
cbd1994e39
just added value type 'datetime' to the list in InitIssueWithMetaAndFields
2017-07-31 09:03:34 +02:00
Andy Grunwald
aaa2d02b3a
Merge pull request #76 from juicemia/master
...
Fix bug in issue update
2017-06-26 23:03:51 +02:00
Hugo Torres
bb451f74be
Fix bug in issue update
...
The issue was being found by ID, but there are cases where a user will
have the issue key but not the ID, whereas if the user has the ID then
it's highly likely they have the key, because they probably got the ID
from the API, which would also return the key.
2017-06-26 10:15:03 -04:00
Andy Grunwald
449b22766d
Link to issue #56
2017-06-15 19:13:05 +02:00
Andy Grunwald
25b63c1913
Shorten link to issue #56
2017-06-15 19:12:24 +02:00
Andy Grunwald
d76c7f9a52
Fix #56 : Add note about OAuth auth to README
2017-06-15 19:11:35 +02:00
Andy Grunwald
30841416a8
go fmt
2017-06-15 19:02:07 +02:00
Andy Grunwald
685d0f764e
Merge pull request #75 from juicemia/master
...
Add Issue Update method
2017-06-15 18:31:59 +02:00
Hugo Torres
c8cc00ff93
Add Issue Update method
...
JIRA only allows issues to be created with certain fields set. This
means if a user needs to create an issue through the API with the
description set, they need to create the issue first, and then call the
API again to update it.
Without this commit, the way to do this through the package is by
calling IssueService.Create and then use the client's NewRequest method
to create a raw HTTP request for the Update. This isn't bad, but it can
be better.
2017-06-09 15:51:29 -04:00
Andy Grunwald
c8c6680f24
Merge pull request #74 from ypsman/fix-readme-example
...
Fixed create Example
2017-05-12 16:15:50 +02:00
ypsman
0b329b1540
Fixed create Example
2017-05-11 20:39:10 +02:00
Andy Grunwald
52c37034b2
Merge pull request #72 from yanolab/feature#1
...
Implemented low level do transition method. close #57
2017-05-07 18:29:36 +02:00
Andy Grunwald
72f092baf9
Merge pull request #73 from francoishill/patch-1
...
Rename PostAttachment arg to `issueID`
2017-05-07 18:23:13 +02:00
Francois
88bab6c4c8
refactor: rename PostAttachment arg to issueID
2017-05-06 14:09:22 +02:00
Kenji Yano
ccd16575a5
implemented low level do transition method.
2017-05-04 23:19:41 +09:00
Andy Grunwald
1c3a3519ff
go fmt and docs
2017-05-01 15:06:18 +02:00
Andy Grunwald
880a13c107
Fixed typos
2017-05-01 15:03:03 +02:00
Andy Grunwald
69e7535b62
go fmt and fixed some typos
2017-05-01 14:59:27 +02:00
Andy Grunwald
426f330664
Removed coveralls, because it was failing way to often, but not for the unit tests reasons
2017-05-01 14:53:51 +02:00
Andy Grunwald
792e94b7c0
Merge pull request #71 from antifuchs/add-option-field-type
...
Add the "option" field type for custom fields
2017-05-01 14:49:07 +02:00
Andreas Fuchs
dda28f9b9c
Add a test case for the "option" field type
2017-04-27 09:41:25 -07:00
Andreas Fuchs
967e2d4805
Add the "option" field type for custom fields
...
JIRA supports SelectList field types, which are similar to but
represented not quite the same as Strings. This change allows go-jira
to create issues with custom fields on them that are SelectLists.
2017-04-26 22:09:33 -07:00
Andy Grunwald
320d02c202
Merge pull request #68 from wvell/master
...
Adds support for selecting specific fields from the jira api.
See https://docs.atlassian.com/jira/REST/cloud/#api/2/search-search for details
2017-04-13 21:46:41 +02:00
Wytse Vellema
dc9aff7507
adds support for selecting specific fields from the jira api. See https://docs.atlassian.com/jira/REST/cloud/#api/2/search-search for details
2017-04-13 21:02:50 +02:00