1
0
mirror of https://github.com/interviewstreet/go-jira.git synced 2025-07-17 01:12:24 +02:00
Commit Graph

550 Commits

Author SHA1 Message Date
8383e2f5f1 fix: Fix fixversion description tag
There's an error: description filed has structs:name, instead of structs:description
2019-07-10 10:37:33 -07:00
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
9ca8940d2f Update CHANGELOG.md 2019-05-22 19:45:40 -07:00
7966e7f5ed chore(release): Releases v1.10.0 v1.10.0 2019-05-22 19:37:51 -07:00
4a420f0611 docs(changelog): Updates changelog 2019-05-22 19:35:05 -07:00
b3bf8c2d09 fix: empty SearchOptions causing malformed request
prevents empty SearchOptions from being interpolated into the JIRA REST
request when calling Search on the Issue Service
2019-05-22 19:28:25 -07:00
e93c0e1785 feat: added DeleteAttachment 2019-05-21 09:13:37 -07:00
84a0f1e46f docs: Creates CHANGELOG.md v1.9.0 2019-05-18 22:56:48 -07:00
1ebd7e7f0d feat(issues): Added support for AddWorklog and GetWorklogs 2019-05-18 22:13:20 -07:00
a9350ed566 Add test case to check for completeness of roles unmarshal v1.8.0 2019-05-16 08:10:18 -07:00
c30eba2b69 Fix of Project.Roles Unmarshal Bug
It is now possible to unmarshal all roles completely flexible in a map.
Before it was only possible to save a role called "Developers"
2019-05-16 08:10:18 -07:00
3ef5870bca Add negative tests for PermissionService 2019-05-13 18:33:41 -07:00
3a29fbf9ce Add missing check to permissionSchemeService.Get
There was missing a check for requests with invalid ID.
Now it returns an error instead of an empty permissionScheme.
2019-05-13 18:33:41 -07:00
34fb356f18 Fix of documentation urls 2019-05-13 18:33:41 -07:00
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
f4bc07d375 Add negative tests for RoleService 2019-05-13 17:55:06 -07:00
0f45703c19 Add missing check to roleService.Get
There was missing a check for requests with invalid ID.
Now it returns an error instead of an empty role.
2019-05-13 17:55:06 -07:00
889618d979 Fix of documentation urls 2019-05-13 17:55:06 -07:00
5a7988ae5c Add RoleService
Add of RoleService with Get and GetList

Add corresponding tests + mocks
2019-05-13 17:55:06 -07:00
7e0dd0ed39 Fix board request parameter
The BoardListOption field BoardType was incorrectly mapped to boardType
instead of type. This commit fixes it. A generic test helper
function (testRequestParams) is added in order to improve the
effectiveness of the unit test.

Fixes #213
2019-05-12 10:59:41 +02:00
15b3b53643 Add missing affects and fix versions fields to issue fields (#209)
Add missing affects and fix versions fields to issue fields
v1.7.0
2019-04-30 11:49:14 -07:00
b1589c4b06 Add 'affects versions' to issue fields 2019-04-28 20:10:26 +02:00
18969b05a0 Unify FixVersion and Version types
The FixVersion type was missing some fields. Now it is a complete copy
of the more complete Version struct, with the only difference that the
bool fields are pointers (for compatibility reasons).

Fixes #208
2019-04-28 20:10:14 +02:00
a4321ef334 Merge pull request #207 from Rambatino/added_rendered_field
Added new rendered field: Description
2019-04-22 18:39:10 -07:00
4c422a4349 Added new rendered field: Description 2019-04-22 23:43:06 +12:00
48ad836865 Merge pull request #204 from benmcginnis/master
Add AccountID to User struct to support GDPR
2019-04-16 12:58:54 -07:00
5369039331 Add AccountID to User struct
Addresses Issue #203 and Atlassian's new GDPR requirements.
2019-04-16 12:45:09 -04:00
53c468062d Fix panic for unauthorized response with nil error 2019-03-20 08:15:10 +01:00
cbab0bba29 Fix apiEndpoint creation in UserService.Find 2019-01-20 11:45:14 +01:00
c74da16159 Issue 193: only parse application/json content-type as JSON 2019-01-03 08:46:08 +01:00
645898e850 feat(filter): Add GetFavouriteList to FilterService. 2018-12-24 16:48:16 +01:00
bf2008dbbf Fix wrong comments 2018-12-24 16:45:19 +01:00
cf23ed82cc Update mock for all_boards 2018-11-19 16:09:17 +01:00
553e8b8eed executable searchpages example 2018-11-18 10:46:16 +01:00
5202530abe added executable searchpages example 2018-11-18 10:46:16 +01:00
83c019a2fa Fix error in the example code in README 2018-11-18 10:45:09 +01:00
570a74be05 Manage versions startDate 2018-10-30 19:34:37 +01:00
bbce4afa54 Merge pull request #177 from namely/master
Adds ability to configure whether updates notify users
2018-10-18 13:36:16 -07:00
25ead88f67 Uses nil instead of empty opts 2018-10-18 14:31:40 -04:00
5789d26f6d Fixes the api version 2018-10-17 17:10:54 -04:00
5fe2f1beda throwing prints around because I cant run tests locally 2018-10-17 17:03:54 -04:00
1c15e45764 Puts test back how it was... 2018-10-17 16:28:08 -04:00
f87c8b0ab5 Moves error handle up so we see the error, instead of just seeing that the value didnt get populated 2018-10-17 16:25:06 -04:00
b8740711f0 using strings instead of bools 2018-10-17 16:11:24 -04:00
0f70c8e581 Makes Update call UpdateWithOptions with a blank options struct 2018-10-17 15:44:13 -04:00
8ddf76d2c9 Changes a version back that was changed erroneously 2018-10-17 15:18:45 -04:00
9049c9ff74 Instead of baking config into the client, adds a method call that allows options to be passed in 2018-10-17 15:17:08 -04:00
00a32a0fd7 Uses a jira client config struct 2018-10-17 14:49:25 -04:00
83b994b4bc Merge pull request #147 from Xjs/master
Add MarshalJSON method for Time type
2018-10-17 08:48:51 +11:00
02a41efba4 Updates tests and examples to work with proposed changes 2018-10-16 13:41:50 -04:00