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

110 Commits

Author SHA1 Message Date
Andy Grunwald
c0b29dac50 Adjusted PR #19
* go doc
* go fmt
* Usage of already existing structs
* Adjustments related to the wrapping response
2016-06-19 15:08:53 +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
Andy Grunwald
083961b1b6 Go docs 2016-06-19 14:36:10 +02:00
Andy Grunwald
de4984d92a Merge pull request #18 from nebril/paging
Wrap http.Response in Response struct to provide more information about paging
2016-06-19 14:33:53 +02:00
Evgen Kostenko
e3b9aad702 cosmetic fix in boards imports, tests in projects 2016-06-16 12:25:47 +03:00
Evgen Kostenko
c66a9e0e77 add delete board with tests + go fmt 2016-06-16 12:20:47 +03:00
Maciej Kwiek
a1cf5b494a Add pagination options to Search. 2016-06-16 11:10:30 +02:00
Evgen Kostenko
7d8addc179 add board create with tests 2016-06-16 10:52:16 +03: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
00c9de8eaf remove old project 2016-06-15 13:29:30 +03: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
6b49178e1f Merge pull request #16 from tritonrc/issuelink-omit
When creating issue links, the id and self should be omitted.
2016-06-14 20:41:11 +02:00
Brian McKinney
e11c960b6c When creating issue links, the id and self should be omitted along with comment if none is provided 2016-06-14 08:19:14 -06:00
Andy Grunwald
7a597749c2 Merge pull request #15 from joushou/master
Expose issue link direction, comment ID
2016-06-08 08:05:14 +02:00
Kenny Levinsen
4b095a159b Expose comment ID 2016-06-07 22:14:56 +02:00
Kenny Levinsen
f416dd0221 Make issue link direction visible 2016-06-07 22:14:56 +02:00
Andy Grunwald
ea78dc405d Merge pull request #14 from dougEfresh/master
Using Time for WorklogRecord.Started
2016-06-06 08:22:55 +02:00
Douglas Chimento
743ca165a1 using Time for WorklogRecord.Started 2016-06-05 10:00:32 -04:00
Andy Grunwald
3aa8866312 Merge branch 'dougEfresh-search-customfield'
* dougEfresh-search-customfield:
  Adjusted a few things to be in line with other methods
  go fmt
  update .gitignore
  using native time.Time
  updating with search and worklogs
2016-06-04 10:42:01 +02:00
Andy Grunwald
1628d1b1d3 Adjusted a few things to be in line with other methods 2016-06-04 10:41:34 +02:00
Douglas Chimento
d77b32f3dd go fmt 2016-06-03 20:54:51 -04:00
Douglas Chimento
31fcf682f6 Adding tests 2016-06-03 20:51:44 -04:00
Andy Grunwald
5e8f6f0fd0 Merge branch 'EvgenKostenko-master'
* EvgenKostenko-master:
  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
  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 23:25:45 +02:00
Andy Grunwald
7ac3d14dbc go fmt, go doc and reuse of Project struct 2016-06-03 23:25:18 +02:00
Andy Grunwald
7c3e481c65 Renamed "json_mocks" into "mocks" 2016-06-03 23:16:21 +02:00
Andy Grunwald
883aca79c0 Refactored struct types by reusing already existing components 2016-06-03 23:14:27 +02:00
Andy Grunwald
077933ab00 Fixed typo in Cookies 2016-06-03 22:43:41 +02:00
Andy Grunwald
9b1bc58830 Moved progect.go to project.go 2016-06-03 22:39:50 +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
ba0906a1b8 Merge remote-tracking branch 'origin/master' into develop
* origin/master:
  refactor project tests + go fmt
  add one more test for project service
  delete uncompleted boards

# Conflicts:
#	board.go
2016-06-02 16:03:46 +03:00
Evgen Kostenko
c66958e3f2 refactor project tests + go fmt 2016-06-02 15:59:40 +03:00
Evgen Kostenko
c9ac91a57c add one more test for project service 2016-06-01 21:36:11 +03:00
Evgen Kostenko
462a4cd5f8 delete uncompleted boards 2016-06-01 21:24:21 +03:00
Evgen Kostenko
9e70267766 add boards service 2016-06-01 21:23:27 +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
be2f16214f get Authenticated reports session from main repository 2016-06-01 15:52:52 +03:00
Evgen Kostenko
3b2cee5d9b Add project and tests 2016-06-01 15:13:11 +03:00
Douglas Chimento
e2bff3f809 update .gitignore 2016-05-31 12:14:19 -04:00
Douglas Chimento
7fc559153e using native time.Time 2016-05-29 15:10:19 -04:00
Evgen Kostenko
bbc0470766 Implement workload in issue and Project list 2016-05-29 19:42:38 +03:00
Douglas Chimento
fe0595ab45 updating with search and worklogs 2016-05-29 11:30:45 -04:00
Andy Grunwald
0821e0283a Fix #8: Improve error handling to manage unexpected JIRA responses 2016-05-28 20:15:17 +02:00
Andy Grunwald
8fd4bf1d60 Added a few more sentence to README 2016-05-28 19:25:51 +02:00
Andy Grunwald
f4b243ebdc Merge branch 'jasonob-attachment'
* jasonob-attachment:
  go lint
  go fmt
  Applied a few smaller code changes, cleanups and removed DoNoClose, because a similar function was merged in between
  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 14:20:21 +02:00
Andy Grunwald
0d2b98ade7 go lint 2016-05-27 14:19:35 +02:00