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
Wes McNamee
9ca8940d2f
Update CHANGELOG.md
2019-05-22 19:45:40 -07:00
Wes McNamee
7966e7f5ed
chore(release): Releases v1.10.0
2019-05-22 19:37:51 -07:00
Wes McNamee
4a420f0611
docs(changelog): Updates changelog
2019-05-22 19:35:05 -07:00
Mark Ramotowski
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
Edwin Kyalangalilwa
e93c0e1785
feat: added DeleteAttachment
2019-05-21 09:13:37 -07:00
Wes McNamee
84a0f1e46f
docs: Creates CHANGELOG.md
2019-05-18 22:56:48 -07:00
falnyr
1ebd7e7f0d
feat(issues): Added support for AddWorklog and GetWorklogs
2019-05-18 22:13:20 -07:00
Matthias Weiss
a9350ed566
Add test case to check for completeness of roles unmarshal
2019-05-16 08:10:18 -07:00
Matthias Weiss
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
Matthias Weiss
3ef5870bca
Add negative tests for PermissionService
2019-05-13 18:33:41 -07:00
Matthias Weiss
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
Matthias Weiss
34fb356f18
Fix of documentation urls
2019-05-13 18:33:41 -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
f4bc07d375
Add negative tests for RoleService
2019-05-13 17:55:06 -07:00
Matthias Weiss
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
Matthias Weiss
889618d979
Fix of documentation urls
2019-05-13 17:55:06 -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
Dimitris Stafylarakis
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
Wes McNamee
15b3b53643
Add missing affects and fix versions fields to issue fields ( #209 )
...
Add missing affects and fix versions fields to issue fields
2019-04-30 11:49:14 -07:00
David Url
b1589c4b06
Add 'affects versions' to issue fields
2019-04-28 20:10:26 +02:00
David Url
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
Wes McNamee
a4321ef334
Merge pull request #207 from Rambatino/added_rendered_field
...
Added new rendered field: Description
2019-04-22 18:39:10 -07:00
Mark Ramotowski
4c422a4349
Added new rendered field: Description
2019-04-22 23:43:06 +12:00
Wes McNamee
48ad836865
Merge pull request #204 from benmcginnis/master
...
Add AccountID to User struct to support GDPR
2019-04-16 12:58:54 -07:00
bmcginnis
5369039331
Add AccountID to User struct
...
Addresses Issue #203 and Atlassian's new GDPR requirements.
2019-04-16 12:45:09 -04:00
Rekha Mittal
53c468062d
Fix panic for unauthorized response with nil error
2019-03-20 08:15:10 +01:00
Lev Zakharov
cbab0bba29
Fix apiEndpoint creation in UserService.Find
2019-01-20 11:45:14 +01:00
Eric Billingsley
c74da16159
Issue 193: only parse application/json content-type as JSON
2019-01-03 08:46:08 +01:00
David Newman
645898e850
feat(filter): Add GetFavouriteList to FilterService.
2018-12-24 16:48:16 +01:00
Issei Horie
bf2008dbbf
Fix wrong comments
2018-12-24 16:45:19 +01:00
Issei Horie
cf23ed82cc
Update mock for all_boards
2018-11-19 16:09:17 +01:00
chradke
553e8b8eed
executable searchpages example
2018-11-18 10:46:16 +01:00
chradke
5202530abe
added executable searchpages example
2018-11-18 10:46:16 +01:00
Issei Horie
83c019a2fa
Fix error in the example code in README
2018-11-18 10:45:09 +01:00
Vincent Sellier
570a74be05
Manage versions startDate
2018-10-30 19:34:37 +01:00
rbriski
bbce4afa54
Merge pull request #177 from namely/master
...
Adds ability to configure whether updates notify users
2018-10-18 13:36:16 -07:00
spmassot
25ead88f67
Uses nil instead of empty opts
2018-10-18 14:31:40 -04:00
spmassot
5789d26f6d
Fixes the api version
2018-10-17 17:10:54 -04:00
spmassot
5fe2f1beda
throwing prints around because I cant run tests locally
2018-10-17 17:03:54 -04:00
spmassot
1c15e45764
Puts test back how it was...
2018-10-17 16:28:08 -04:00
spmassot
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
spmassot
b8740711f0
using strings instead of bools
2018-10-17 16:11:24 -04:00
spmassot
0f70c8e581
Makes Update call UpdateWithOptions with a blank options struct
2018-10-17 15:44:13 -04:00
spmassot
8ddf76d2c9
Changes a version back that was changed erroneously
2018-10-17 15:18:45 -04:00
spmassot
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
spmassot
00a32a0fd7
Uses a jira client config struct
2018-10-17 14:49:25 -04:00
rbriski
83b994b4bc
Merge pull request #147 from Xjs/master
...
Add MarshalJSON method for Time type
2018-10-17 08:48:51 +11:00
spmassot
02a41efba4
Updates tests and examples to work with proposed changes
2018-10-16 13:41:50 -04:00
spmassot
c6f546da3a
Adds ability to configure whether updates notify users
2018-10-15 15:55:29 -04:00