1
0
mirror of https://github.com/interviewstreet/go-jira.git synced 2024-11-30 08:47:11 +02:00
Commit Graph

458 Commits

Author SHA1 Message Date
Wes McNamee
8e6f4df417 drop go 1.8 support 2019-09-05 10:54:51 -07:00
hirakiuc
e9a261c522 fix: Fix typos in filter_test.go 2019-08-26 18:53:33 -07:00
hirakiuc
38a755b407 feat: Add Search to FilterService 2019-08-26 18:53:33 -07:00
hirakiuc
ebae19dda6 feat: Add GetMyFilters to FilterService 2019-08-26 07:18:24 -07:00
Omar
fd698c5716 feat: AddGetBoardConfiguration 2019-08-19 13:05:52 -07:00
Omar
afc96b18d1 feat: Add GetAllStatuses 2019-08-19 07:51:49 -07:00
mhupman
52ab347903 feat: Add AccountType and Locale to User struct 2019-07-22 19:09:11 -07:00
mhupman
216e0056d6 feat: Add AccountID and AccountType to GroupMember struct 2019-07-12 20:44:42 -07:00
Roman Volodin
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
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