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

489 Commits

Author SHA1 Message Date
72d53e4630 style: Adjust source code according gofmt -d -s
Adjusting source code according to the go coding guidelines
and simplify it a bit.
2020-04-29 10:27:02 -07:00
8c77107df3 fix: change millisecond time format
If millisecond in go time is empty
they will be not exist in result string
if using "999" in format. And jira api
will response with error in the case.

Using "000" fix the problem.

Add test for time marshaling.
2020-04-14 20:55:02 +02:00
f200e158b9 feat: add AddRemoteLink method
– add method AddRemoteLink to add remote links to issue

  - add test for the method

See docs: https://developer.atlassian.com/cloud/jira/platform/rest/v2/#api-rest-api-2-issue-issueIdOrKey-remotelink-post
2020-04-10 09:55:04 -07:00
19d3fc0aec fix: paging with load balancer going to endless loop
When used with a load balanced Jira, the SearchPages method would end
up in an endless loop. This was caused by a bug where Jira would not
handle the MaxResults=50 that is sent by defaul properly, thus retur-
ning no issues. The SearchPages method didn't check for empty results
and ended up in an endless loop.

Fixed this by
1. Pre-escaping '&maxResults' to '&MaxResults'.
2. Adding a check in SearchPages to see if the issues array is empty
   before going into the endless 'for'.

Also fixed the appropriate tests.

Fixes issue #260.
2020-03-15 14:02:52 -07:00
436469b62d fix(IssueService.GetWatchers): UserService.GetByAccountID support accountId params 2020-03-11 12:57:09 -07:00
a90dd878dc docs: Link to standard-version 2020-01-24 08:33:30 -08:00
1946cac0fe feat: Implement get remote links method 2019-12-14 08:27:17 -08:00
e37cc6c689 feat: Implement issue link type DELETE 2019-12-12 14:57:35 -08:00
48a15c1044 feat: Implement issue link type PUT 2019-12-12 14:57:35 -08:00
75b9df8b01 feat: Implement issue link type POST 2019-12-12 14:57:35 -08:00
57538b926c feat: Implement issue link type GET 2019-12-12 14:57:35 -08:00
261889adc6 feat: Add IssueLinkTypeService with GetList and test 2019-12-12 14:57:35 -08:00
40a1df20eb fix version struct description tags error 2019-12-07 15:47:34 -08:00
9ff562ae3e feat: add worklog update method
Allows updating work log entries

API reference url: https://docs.atlassian.com/software/jira/docs/api/REST/7.1.2/#api/2/issue-updateWorklog
2019-12-07 15:08:10 -08:00
7530b7cd82 feat: provide access to issue transitions loaded from JIRA API
JIRA API is able to provide clients with list of transitions available
for issue in its current state (https://docs.atlassian.com/software/
jira/docs/api/REST/latest/#api/2/issue-getIssue)

Go-Jira client ignored the 'transitions' information in JIRA API JSON
response. Now it provides full access to transitions available for
current user in issue's current state
2019-12-04 07:07:43 -08:00
1c3507a11e Update PULL_REQUEST_TEMPLATE.md 2019-11-04 18:46:00 -08:00
a221307d9e Rename pull_request_template.md to PULL_REQUEST_TEMPLATE.md 2019-11-04 18:45:04 -08:00
9ec6eec634 chore(release): 1.11.1 v1.11.1 2019-10-16 20:20:03 -07:00
24aa2b2133 docs: fix readme contributions 2019-10-16 20:19:35 -07:00
0eb7d6b039 docs: include release steps in README.md 2019-10-16 20:18:32 -07:00
2dadb4dfdc docs: add github pr template 2019-10-16 20:18:09 -07:00
14895d97ca docs: delete extraneous changelog 2019-10-16 20:17:45 -07:00
aac603dcda Update CHANGELOG.md 2019-10-16 20:04:43 -07:00
add67cab4a chore(release): 1.11.0 2019-10-16 20:03:11 -07:00
22371db7ce chore(release): 1.11.5 2019-10-16 20:02:00 -07:00
78de3ff92f chore(release): 1.11.4 2019-10-16 20:01:07 -07:00
5b38cfaa2b chore(release): 1.11.3 2019-10-16 19:59:54 -07:00
cf2219deab chore(release): 1.11.2 2019-10-16 19:59:36 -07:00
2f3ad50bfb chore(release): 1.11.1 2019-10-16 19:59:25 -07:00
a8bdfed27f feat: add support for JWT auth with qsh needed by add-ons v1.11.0 2019-09-05 11:04:10 -07:00
913be01848 add go 1.13 builds, allowing failures 2019-09-05 11:03:44 -07:00
8e6f4df417 drop go 1.8 support 2019-09-05 10:54:51 -07:00
e9a261c522 fix: Fix typos in filter_test.go 2019-08-26 18:53:33 -07:00
38a755b407 feat: Add Search to FilterService 2019-08-26 18:53:33 -07:00
ebae19dda6 feat: Add GetMyFilters to FilterService 2019-08-26 07:18:24 -07:00
fd698c5716 feat: AddGetBoardConfiguration 2019-08-19 13:05:52 -07:00
afc96b18d1 feat: Add GetAllStatuses 2019-08-19 07:51:49 -07:00
52ab347903 feat: Add AccountType and Locale to User struct 2019-07-22 19:09:11 -07:00
216e0056d6 feat: Add AccountID and AccountType to GroupMember struct 2019-07-12 20:44:42 -07:00
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