1
0
mirror of https://github.com/interviewstreet/go-jira.git synced 2025-06-14 23:45:03 +02:00
Commit Graph

85 Commits

Author SHA1 Message Date
bac2760a87 Added Issue.Delete and unit test. 2017-02-23 17:41:52 -08:00
dc2383c179 test expand 2017-02-22 19:08:13 -05:00
f764e89d33 Add Changelog to Issue and allow query parameters to issue.GET 2017-01-27 23:04:57 +01:00
542fcc2d46 Fixed unit test to provide more information about the failure 2016-11-04 20:48:26 +01:00
9543ada034 Fixes the structs tags. Adds test to verify empty fields are ommitted 2016-10-07 10:52:40 +02:00
1f368f8fe0 Adds method to init issue with meta and fieldConfig. Adds related tests 2016-10-05 18:04:48 +02:00
31508ce192 Fixed a few fmt and debug outputs 2016-10-03 13:33:46 +02:00
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
5ce765977f Adds unknown map for arbitrary fields in IssueFields. Adds Custom Marshall,Unmarshall. Adds structs tag where necessary 2016-09-23 16:19:07 +02:00
2b654c6df6 A test that has a select list custom type 2016-09-06 17:02:03 -07:00
df3bf313a0 go fmt 2016-07-29 19:35:04 +02:00
7d216396c6 Add epic data to returned issue fields 2016-07-28 16:06:52 -04:00
cdb3939c4c Renamed unit tests according golang standard 2016-07-17 12:13:08 +02:00
f1a11a0302 go doc and go lint 2016-07-17 11:41:50 +02:00
a2df25c45a go fmt 2016-07-17 11:24:23 +02:00
4b9e96b367 Moved transition service into issue service, because it relates to the issue api calls 2016-07-17 11:23:49 +02:00
f7ea942ed3 Comments unmarshaling fixed 2016-07-08 01:21:14 +02:00
a1cf5b494a Add pagination options to Search. 2016-06-16 11:10:30 +02: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
f416dd0221 Make issue link direction visible 2016-06-07 22:14:56 +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
0d2b98ade7 go lint 2016-05-27 14:19:35 +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
c6b506ba46 Enable labels for IssueFields 2016-05-25 10:54:34 +01:00
657e960a8f Increase test coverage slightly and add some robustness 2016-05-25 00:47:10 -07:00
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
506085244e Modified to handle worklog, comment, and updated in JIRA's newest version (6.4) 2016-04-06 11:45:37 +01:00
3f43c29b5c Fixed Errorf usage 2016-03-27 14:19:28 +02:00
ec697566b2 go fmt 2016-03-27 14:18:31 +02:00
e3921e7773 Added unit tests 2016-03-27 14:18:14 +02:00
f40a31fe85 Added AddComment to IssueService 2016-03-27 14:03:40 +02:00
c967609522 Basic unit test for issue 2016-03-27 00:00:30 +01:00
0f95c6504e Added first test for issue 2016-03-26 23:39:03 +01:00