1
0
mirror of https://github.com/interviewstreet/go-jira.git synced 2025-08-06 22:13:02 +02:00
Commit Graph

405 Commits

Author SHA1 Message Date
c66a9e0e77 add delete board with tests + go fmt 2016-06-16 12:20:47 +03:00
a1cf5b494a Add pagination options to Search. 2016-06-16 11:10:30 +02:00
7d8addc179 add board create with tests 2016-06-16 10:52:16 +03:00
9f8d06db41 go fmt boards 2016-06-15 20:15:12 +03:00
81b91847b3 Implement BoardService and get boards list with parameters 2016-06-15 20:08:15 +03:00
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
00c9de8eaf remove old project 2016-06-15 13:29:30 +03:00
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
065bb9db44 Add boards and fix some bugs in project 2016-06-15 12:20:37 +03:00
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
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
7a597749c2 Merge pull request #15 from joushou/master
Expose issue link direction, comment ID
2016-06-08 08:05:14 +02:00
4b095a159b Expose comment ID 2016-06-07 22:14:56 +02:00
f416dd0221 Make issue link direction visible 2016-06-07 22:14:56 +02:00
ea78dc405d Merge pull request #14 from dougEfresh/master
Using Time for WorklogRecord.Started
2016-06-06 08:22:55 +02:00
743ca165a1 using Time for WorklogRecord.Started 2016-06-05 10:00:32 -04:00
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
1628d1b1d3 Adjusted a few things to be in line with other methods 2016-06-04 10:41:34 +02:00
d77b32f3dd go fmt 2016-06-03 20:54:51 -04:00
31fcf682f6 Adding tests 2016-06-03 20:51:44 -04:00
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
7ac3d14dbc go fmt, go doc and reuse of Project struct 2016-06-03 23:25:18 +02:00
7c3e481c65 Renamed "json_mocks" into "mocks" 2016-06-03 23:16:21 +02:00
883aca79c0 Refactored struct types by reusing already existing components 2016-06-03 23:14:27 +02:00
077933ab00 Fixed typo in Cookies 2016-06-03 22:43:41 +02:00
9b1bc58830 Moved progect.go to project.go 2016-06-03 22:39:50 +02:00
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
4efa3df3b1 Fix #12: Expose the base JIRA URL 2016-06-03 18:18:01 +02:00
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
c66958e3f2 refactor project tests + go fmt 2016-06-02 15:59:40 +03:00
c9ac91a57c add one more test for project service 2016-06-01 21:36:11 +03:00
462a4cd5f8 delete uncompleted boards 2016-06-01 21:24:21 +03:00
9e70267766 add boards service 2016-06-01 21:23:27 +03:00
de59b131b3 add fmt dependency to jira.go 2016-06-01 21:18:33 +03:00
c75a2ca567 Merge branch 'master' of https://github.com/andygrunwald/go-jira
# Conflicts:
#	issue.go
2016-06-01 16:08:30 +03:00
be2f16214f get Authenticated reports session from main repository 2016-06-01 15:52:52 +03:00
3b2cee5d9b Add project and tests 2016-06-01 15:13:11 +03:00
e2bff3f809 update .gitignore 2016-05-31 12:14:19 -04:00
7fc559153e using native time.Time 2016-05-29 15:10:19 -04:00
bbc0470766 Implement workload in issue and Project list 2016-05-29 19:42:38 +03:00
fe0595ab45 updating with search and worklogs 2016-05-29 11:30:45 -04:00
0821e0283a Fix #8: Improve error handling to manage unexpected JIRA responses 2016-05-28 20:15:17 +02:00
8fd4bf1d60 Added a few more sentence to README 2016-05-28 19:25:51 +02:00
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
0d2b98ade7 go lint 2016-05-27 14:19:35 +02:00
6eec2f6048 go fmt 2016-05-27 14:15:02 +02:00
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
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
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
f0e5259584 Change Coocke session get from request 2016-05-27 13:01:54 +03:00