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

55 Commits

Author SHA1 Message Date
Johan Meiring
261889adc6 feat: Add IssueLinkTypeService with GetList and test 2019-12-12 14:57:35 -08:00
Shaun Dunning
a8bdfed27f feat: add support for JWT auth with qsh needed by add-ons 2019-09-05 11:04:10 -07:00
Omar
afc96b18d1 feat: Add GetAllStatuses 2019-08-19 07:51:49 -07:00
Benji Vesterby
b59a65c365 feat: Replace http.Client with interface for extensibility
Setting up the NewClient method to accept an interface that gives access
to the Do method of the http.Client rather than using a hard http.Client
so that an interface can be passed for mocking and other non-standard
clients can be used with go-jira.
2019-06-21 12:30:13 -07:00
Matthias Weiss
b2bcdc9f43 Add PermissionSchemeService
Expand the PermissionScheme struct of ProjectService.

Add new PermissionSchemeService with functions Get and GetList.

Add corresponding mocks and tests.
2019-05-13 18:33:41 -07:00
Matthias Weiss
5a7988ae5c Add RoleService
Add of RoleService with Get and GetList

Add corresponding tests + mocks
2019-05-13 17:55:06 -07:00
Sol Cates
1d76fca9ba added filter support for Jira issues 2018-10-08 15:18:43 -07:00
David Dizon
e3036dab2f Check for empty cookies for CookieAuthTransport
Don't add empty cookie values to the session object for
CookieAuthTransport
2018-09-11 16:58:16 -07:00
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