1
0
mirror of https://github.com/interviewstreet/go-jira.git synced 2024-11-24 08:22:42 +02:00
Commit Graph

47 Commits

Author SHA1 Message Date
Nate Mara
f4f8fecc04
Merge branch 'master' into component-service 2018-06-27 15:39:51 -04:00
Thibaut Rousseau
049a756bbe
feat: Add StatusCategory GetList 2018-06-26 09:41:46 +02:00
Thibaut Rousseau
fb1ce22699
feat: Add ResolutionService to retrieve resolutions 2018-06-25 17:48:53 +02:00
Nate Mara
a6efe394fa Add ComponentService to allow creation of Components 2018-06-25 10:48:21 -04:00
Shawn Catanzarite
433e65c477 Add support for 'fields' API 2018-06-12 18:27:42 -07:00
Thibaut Rousseau
8491cb0034
fix: Add PriorityService to the main 2018-06-12 10:22:48 +02:00
Shaun Dunning
a0af595623 rm IsAbs check 2018-05-10 10:12:40 -04:00
Shaun Dunning
2e5459f891 Some guards around url structures to help avoid bugs 2018-05-08 20:43:24 -04:00
zenixhuang
04cbb2fe5c use pagination from design 2018-03-16 19:01:13 +09:00
Bob Briski
57050f9f92 Changed auth URL and added tests 2018-02-27 22:50:02 -08:00
Bob Briski
f9152870f4 Added transport for cookie authentication and updated docs 2018-02-24 16:29:17 -08:00
Bob Briski
e3130864a1 Adding basic auth and accompanying tests 2018-02-24 11:27:46 -08:00
David Kuridža
7e8707a8ce
add basic Version endpoints 2018-01-22 11:34:41 +01: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
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
Albin Gilles
5857a2e350 Minor fix to comply with go vet 2016-10-23 14:51:29 +02:00
gm42
dad2a7214f NewRawRequest method to use a native io.Reader instead of marshalling 2016-10-10 09:46:21 +02:00
Ante Kresic
e9740fe3e9 Fixed issue with Jira auth for multipart requests 2016-07-27 12:21:09 +02:00
Andy Grunwald
4b9e96b367 Moved transition service into issue service, because it relates to the issue api calls 2016-07-17 11:23:49 +02:00
Maciej Kwiek
2b74499969 Added basic Sprint API handling 2016-06-24 12:09:45 +02:00
Maciej Kwiek
1fd364aea2 Add Transition API handling
Added TransitionService with 2 methods:
 * GetList for retrieving possible transitions for an issue
 * Create for creating transition and changing issue status in the
   process
2016-06-20 17:14:55 +02:00
Andy Grunwald
ce47602482 Merge branch 'develop' of https://github.com/EvgenKostenko/go-jira into EvgenKostenko-develop
* 'develop' of https://github.com/EvgenKostenko/go-jira:
  cosmetic fix in boards imports, tests in projects
  add delete board with tests + go fmt
  add board create with tests
  go fmt boards
  Implement BoardService and get boards list with parameters
  remove old project
  Add boards and fix some bugs in project
  add boards service
2016-06-19 14:40:09 +02:00
Evgen Kostenko
9f8d06db41 go fmt boards 2016-06-15 20:15:12 +03:00
Evgen Kostenko
81b91847b3 Implement BoardService and get boards list with parameters 2016-06-15 20:08:15 +03:00
Maciej Kwiek
facc86872b Wrap http.Response in Response struct
The Response struct has StartAt, MaxResults and Total fields, which are
returned from JIRA API in issue search responses. They are now
accessible in Response object.
2016-06-15 17:09:13 +02:00
Evgen Kostenko
43018f069b Merge remote-tracking branch 'origin/master' into develop
* origin/master:
  When creating issue links, the id and self should be omitted along with comment if none is provided
  Expose comment ID
  Make issue link direction visible
  using Time for WorklogRecord.Started
  Adjusted a few things to be in line with other methods
  go fmt
  go fmt, go doc and reuse of Project struct
  Renamed "json_mocks" into "mocks"
  Refactored struct types by reusing already existing components
  Fixed typo in Cookies
  Moved progect.go to project.go
  Fix #12: Expose the base JIRA URL
  update .gitignore
  using native time.Time
  updating with search and worklogs

# Conflicts:
#	project_test.go
2016-06-15 12:25:10 +03:00
Evgen Kostenko
065bb9db44 Add boards and fix some bugs in project 2016-06-15 12:20:37 +03:00
Andy Grunwald
077933ab00 Fixed typo in Cookies 2016-06-03 22:43:41 +02:00
Andy Grunwald
47c547b9ff Merge branch 'master' of https://github.com/EvgenKostenko/go-jira into EvgenKostenko-master
* 'master' of https://github.com/EvgenKostenko/go-jira:
  refactor project tests + go fmt
  add one more test for project service
  delete uncompleted boards
  add fmt dependency to jira.go
  get Authenticated reports  session from main repository
  Add project and tests
  Implement workload in issue and Project list
  Change Coocke session get from request
2016-06-03 18:20:19 +02:00
Andy Grunwald
4efa3df3b1 Fix #12: Expose the base JIRA URL 2016-06-03 18:18:01 +02:00
Evgen Kostenko
c66958e3f2 refactor project tests + go fmt 2016-06-02 15:59:40 +03:00
Evgen Kostenko
de59b131b3 add fmt dependency to jira.go 2016-06-01 21:18:33 +03:00
Evgen Kostenko
c75a2ca567 Merge branch 'master' of https://github.com/andygrunwald/go-jira
# Conflicts:
#	issue.go
2016-06-01 16:08:30 +03:00
Evgen Kostenko
bbc0470766 Implement workload in issue and Project list 2016-05-29 19:42:38 +03:00
Andy Grunwald
0821e0283a Fix #8: Improve error handling to manage unexpected JIRA responses 2016-05-28 20:15:17 +02:00
Andy Grunwald
c92a43e43d Applied a few smaller code changes, cleanups and removed DoNoClose, because a similar function was merged in between 2016-05-27 14:14:09 +02:00
Andy Grunwald
b1d5d70b51 Merge branch 'attachment' of https://github.com/jasonob/go-jira into jasonob-attachment
* 'attachment' of https://github.com/jasonob/go-jira:
  Increase test coverage slightly and add some robustness
  Add test cases for DoNoClose()
  Add test cases for PostAttachment() and DownloadAttachment(). Fix PostAttachment() to handle response as a JSON array of Attachments. Add Author *Assignee and Thumbnail definition to Attachment structure. Clarify comments on DoNoClose() call
  Ensure Authenticated test validates the path where the AuthenticationService hasn't been initialized
  Moved Authentication() test into AuthenticationService, and add test case to validate it operates correctly
  * Add ability to add and download attachments, including multi-part form handling * Add method to report if the current session is authenticated or not
2016-05-27 13:57:00 +02:00
Evgen Kostenko
d4429e3977 Merge branch 'master' of https://github.com/EvgenKostenko/go-jira
* 'master' of https://github.com/EvgenKostenko/go-jira:
  Enable labels for IssueFields
  fixed test case
  Bug fix - reading http body produces error because the body is already read
2016-05-27 13:03:28 +03:00
Evgen Kostenko
f0e5259584 Change Coocke session get from request 2016-05-27 13:01:54 +03:00
Jason O'Broin
3335a9c77f Add test cases for PostAttachment() and DownloadAttachment(). Fix PostAttachment() to handle response as a JSON array of Attachments. Add Author *Assignee and Thumbnail definition to Attachment structure. Clarify comments on DoNoClose() call 2016-05-25 00:04:23 -07:00
Kent Brockman
8e67015ef3 Bug fix - reading http body produces error because the body is already read 2016-05-23 23:48:04 -06:00
Jason O'Broin
bc5e20fe93 Moved Authentication() test into AuthenticationService, and add test case to validate it operates correctly 2016-05-19 22:00:13 -07:00
Jason O'Broin
2bc0c88214 * Add ability to add and download attachments, including multi-part form handling
* Add method to report if the current session is authenticated or not
2016-05-19 14:11:21 -07:00
Andy Grunwald
22e19893f5 Fixed typo 2016-03-26 21:24:23 +01:00
Andy Grunwald
e848968f58 Added the first go code 2015-09-03 12:25:21 +02:00