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

196 Commits

Author SHA1 Message Date
Florian Krauthan
dcb1c11006 Added tests for new authentication
Fixed some existing tests to work as expected
2017-02-08 14:59:20 -08:00
Florian Krauthan
cf2bcefedb Added basic auth support to the library 2017-02-08 14:37:57 -08:00
Andy Grunwald
8a4b1aca33 Added basic version of Group API (Thanks to @aviz) 2017-01-29 17:28:04 +01:00
Andy Grunwald
fddc90f9f2 Fixed examples in README 2017-01-29 16:15:45 +01:00
Andy Grunwald
ecb9b8a797 Fixed unit tests 2017-01-27 23:08:13 +01:00
Andy Grunwald
9de4f8cf7e Merge pull request #51 from pmoncadaisla/fix-get-user
Fix User.GET() method
2017-01-27 23:07:11 +01:00
Andy Grunwald
f764e89d33 Add Changelog to Issue and allow query parameters to issue.GET 2017-01-27 23:04:57 +01:00
Andy Grunwald
cc30640467 Merge pull request #53 from AlbinOS/patch-1
Fix typo metaissue.go
2016-12-11 17:58:30 +01:00
Albin Gilles
abd1ab2896 Fix typo metaissue.go 2016-12-11 11:55:43 +01:00
Pablo Moncada
46c9691c07 Fix User.GET() method
According to https://docs.atlassian.com/jira/REST/cloud/#api/2/user-getUser username must be provided as a query string parameter
2016-11-22 22:37:27 +01:00
Andy Grunwald
9d1f282f93 Add example to create an issue 2016-11-04 21:03:11 +01:00
Andy Grunwald
851e8382ff Merge branch 'guilhermebr-user_endpoint'
* guilhermebr-user_endpoint:
  Add UserService to handle JIRA User endpoints
2016-11-04 20:55:45 +01:00
Andy Grunwald
e0f9c1d4ae Merge branch 'user_endpoint' of https://github.com/guilhermebr/go-jira into guilhermebr-user_endpoint
* 'user_endpoint' of https://github.com/guilhermebr/go-jira:
  Add UserService to handle JIRA User endpoints
2016-11-04 20:55:27 +01:00
Andy Grunwald
741c5cc9e8 Merge branch 'dontrebootme-parent-issue'
* dontrebootme-parent-issue:
  Fixed unit test to provide more information about the failure
  Fixed structs tags of Parent struct
  Added Parent to issue fields
2016-11-04 20:49:02 +01:00
Andy Grunwald
542fcc2d46 Fixed unit test to provide more information about the failure 2016-11-04 20:48:26 +01:00
Andy Grunwald
11bb1a8b27 Fixed structs tags of Parent struct 2016-11-04 20:48:16 +01:00
Patrick O'Connor
5f27aa465c Added Parent to issue fields 2016-10-31 17:31:51 -07:00
Guilherme Rezende
c969fb4ee0 Add UserService to handle JIRA User endpoints 2016-10-31 10:24:30 -02:00
Andy Grunwald
5899a43d6a Merge pull request #42 from gm42/master
NewRawRequest method to use a native io.Reader instead of marshalling
2016-10-25 22:35:35 +02:00
Andy Grunwald
2bbf0c1bb4 Merge pull request #44 from AlbinOS/master
Add Timetracking issue fields
2016-10-25 22:32:55 +02:00
Albin Gilles
b1018be8a7 Add duedate, timespent, timeestimate and timeoriginalestimate to Issue struct 2016-10-24 11:07:36 +02:00
Albin Gilles
e314420883 Renamed Timetracking field to TimeTracking to follow go naming conventions 2016-10-24 11:06:37 +02:00
Albin Gilles
5857a2e350 Minor fix to comply with go vet 2016-10-23 14:51:29 +02:00
Albin Gilles
233f266cfb Add Timetracking JIRA issue field handling 2016-10-23 14:50:36 +02:00
gm42
16619653d8 Add test for NewRawRequest 2016-10-10 12:54:45 +02:00
gm42
dad2a7214f NewRawRequest method to use a native io.Reader instead of marshalling 2016-10-10 09:46:21 +02:00
Andy Grunwald
0338428ea7 Merge pull request #41 from bidesh/master
Fixes the structs tags. Adds test to verify empty fields are ommitted
2016-10-09 15:55:50 +02:00
Bidesh Thapaliya
9543ada034 Fixes the structs tags. Adds test to verify empty fields are ommitted 2016-10-07 10:52:40 +02:00
Andy Grunwald
94ef506361 Merge pull request #40 from bidesh/master
Add init issue with meta and user-provided fields
2016-10-06 13:57:47 +02:00
Bidesh Thapaliya
4ca40d473c Fixed test TestMetaIssueType_CheckCompleteAndAvailable_NotAvailable to actually trigger the unavailable case 2016-10-05 18:42:31 +02:00
Bidesh Thapaliya
14143f2f57 Adds test for metaissue 2016-10-05 18:29:09 +02:00
Bidesh Thapaliya
7219fd57e4 Remove some comments not applicable 2016-10-05 18:07:59 +02:00
Bidesh Thapaliya
1f368f8fe0 Adds method to init issue with meta and fieldConfig. Adds related tests 2016-10-05 18:04:48 +02:00
Andy Grunwald
9db9bcab73 Merge pull request #39 from bidesh/master
Return body untouched if error when creating issue
2016-10-05 15:17:44 +02:00
Bidesh Thapaliya
ff05e9940f Merge branch 'master' of github.com:andygrunwald/go-jira 2016-10-05 14:54:28 +02:00
Bidesh Thapaliya
0ef71af2e8 Preserve resp body in case of error in Create function. 2016-10-05 14:53:30 +02:00
Andy Grunwald
5563f27ecd Merge pull request #38 from bidesh/master
Fix MetaIssueTypes to MetaIssueType and GetProjectWithKey from createmeta
2016-10-05 11:02:16 +02:00
Bidesh Thapaliya
5d16782fb8 Fix MetaIssueType name in the comments for godoc. 2016-10-05 11:02:15 +02:00
Bidesh Thapaliya
6f3806c115 Fix MetaIssueTypes in test. Add test for GetProjectWithKey 2016-10-05 10:55:52 +02:00
Bidesh Thapaliya
d907109051 Merge branch 'master' of github.com:andygrunwald/go-jira 2016-10-05 10:47:29 +02:00
Bidesh Thapaliya
a9ba34697b Add method to get project with key in metaissue 2016-10-05 10:45:38 +02:00
Bidesh Thapaliya
ba52ec9209 Rename MetaIssueTypes to MetaIssueType 2016-10-04 15:22:03 +02:00
Andy Grunwald
a7647f3c7b Killed unit test TestClient_NewRequest_InvalidJSON 2016-10-03 13:35:00 +02:00
Andy Grunwald
f45edb11e4 Added Golang 1.7 to travic ci 2016-10-03 13:34:19 +02:00
Andy Grunwald
31508ce192 Fixed a few fmt and debug outputs 2016-10-03 13:33:46 +02:00
Andy Grunwald
8d3b47871f Merge branch 'master' of https://github.com/bidesh/go-jira into bidesh-master
* 'master' of https://github.com/bidesh/go-jira:
  Adds test for authentication on expected json. Adds test to metaissue
  Removes check for statuscode as jiraclient already does it. Adds test for nonok status code returned
  Adds test for GetProjectWithName and GetIssueTypeWithName
  Omit more empty attributes when converting from struct to map
  Adds unknown map for arbitrary fields in IssueFields. Adds Custom Marshall,Unmarshall. Adds structs tag where necessary
  Adds metaissue support.
  Completes the APi for session. Adds logout and GetCurrentUser
2016-10-03 13:15:05 +02:00
Bidesh Thapaliya
e75e7750f2 Adds test for authentication on expected json. Adds test to metaissue 2016-09-27 13:26:07 +02:00
Bidesh Thapaliya
d3ec8f16c0 Removes check for statuscode as jiraclient already does it. Adds test for nonok status code returned 2016-09-27 12:18:30 +02:00
Bidesh Thapaliya
435fdb84eb Adds test for GetProjectWithName and GetIssueTypeWithName 2016-09-27 11:54:09 +02:00
Bidesh Thapaliya
f2937d6875 Omit more empty attributes when converting from struct to map 2016-09-26 17:59:51 +02:00