1
0
mirror of https://github.com/interviewstreet/go-jira.git synced 2024-12-10 10:10:10 +02:00
Commit Graph

373 Commits

Author SHA1 Message Date
zenixhuang
8621b5fd2a try fix group error 2017-12-14 16:17:14 +09:00
Sytze Tempel
60a7c948cc Adds methods to add/remove/list watchers from/to an issue 2017-12-11 14:16:13 +01:00
Andy Grunwald
451fade708 Merge branch 'manute-master'
* manute-master:
  Applied NewJiraError for user api endpoints
  finding users by email, username or name
2017-12-10 19:56:36 +01:00
Andy Grunwald
5ac13b726c Applied NewJiraError for user api endpoints 2017-12-10 19:56:03 +01:00
Andy Grunwald
53ce3b6ee5 Merge branch 'master' of https://github.com/manute/go-jira into manute-master
* 'master' of https://github.com/manute/go-jira:
  finding users by email, username or name
2017-12-10 19:54:09 +01:00
Andy Grunwald
49e85ef046
Merge pull request #96 from b4b4r07/groups
New API endpoints for JIRA group functionality: GET/POST for /rest/api/2/group/user and GET for /rest/api/2/user/groups
2017-12-10 17:18:51 +01:00
b4b4r07
4c154044b9 Add tests for group apis 2017-11-29 16:10:42 +09:00
b4b4r07
fbd056e79a Add some APIs on a JIRA group 2017-11-28 11:56:49 +09:00
Manuel Alonso
ed19f623b5 finding users by email, username or name 2017-11-27 18:25:08 +01:00
zenixhuang
ce5e0c2cf2 use agile api for getting issue 2017-11-21 20:14:00 +09:00
Andy Grunwald
9f1498acb6
Merge pull request #92 from rbriski/issues/91
Fixed null pointer when no response is received (#91)
2017-11-16 20:21:38 +01:00
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