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
Jannis Andrija Schnitzer
8e94c551a3
Add test for creation and subsequent retrieval of issue
2018-10-15 11:24:37 +02:00
Jannis Andrija Schnitzer
b00c22d526
Add MarshalJSON method for Time type
2018-10-15 10:51:13 +02:00
rbriski
d8ff51da51
Merge pull request #175 from rbriski/deprecated_auth
...
Update docs to reflect JIRA's guidance about authentication
2018-10-15 10:06:05 +11:00
Bob Briski
485b3ca79c
Update docs to reflect JIRA's guidance about authentication
2018-10-15 10:01:10 +11:00
rbriski
e2a9240a5c
Merge pull request #173 from thales-e-security/master
...
Add filter support for Jira issues
2018-10-12 22:40:35 -07:00
Sol Cates
d53ea6050b
added missing Comment for filter.Get()
2018-10-08 15:55:15 -07:00
Sol Cates
1d76fca9ba
added filter support for Jira issues
2018-10-08 15:18:43 -07:00
Thiago Oliveira
5d5990ab65
add the response to the error message
2018-09-18 09:02:09 +02:00
Thiago Oliveira
2990af0701
fix the DeleteComment unit test
2018-09-18 09:02:09 +02:00