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

489 Commits

Author SHA1 Message Date
Andy Grunwald
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
mehanizm
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
mehanizm
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
Dick Appel
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
clement
436469b62d fix(IssueService.GetWatchers): UserService.GetByAccountID support accountId params 2020-03-11 12:57:09 -07:00
Wes McNamee
a90dd878dc
docs: Link to standard-version 2020-01-24 08:33:30 -08:00
Roman Volodin
1946cac0fe feat: Implement get remote links method 2019-12-14 08:27:17 -08:00
Johan Meiring
e37cc6c689 feat: Implement issue link type DELETE 2019-12-12 14:57:35 -08:00
Johan Meiring
48a15c1044 feat: Implement issue link type PUT 2019-12-12 14:57:35 -08:00
Johan Meiring
75b9df8b01 feat: Implement issue link type POST 2019-12-12 14:57:35 -08:00
Johan Meiring
57538b926c feat: Implement issue link type GET 2019-12-12 14:57:35 -08:00
Johan Meiring
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
prugala
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
Korenevskiy Denis
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
Wes McNamee
1c3507a11e
Update PULL_REQUEST_TEMPLATE.md 2019-11-04 18:46:00 -08:00
Wes McNamee
a221307d9e
Rename pull_request_template.md to PULL_REQUEST_TEMPLATE.md 2019-11-04 18:45:04 -08:00
Wes McNamee
9ec6eec634 chore(release): 1.11.1 2019-10-16 20:20:03 -07:00
Wes McNamee
24aa2b2133 docs: fix readme contributions 2019-10-16 20:19:35 -07:00
Wes McNamee
0eb7d6b039 docs: include release steps in README.md 2019-10-16 20:18:32 -07:00
Wes McNamee
2dadb4dfdc docs: add github pr template 2019-10-16 20:18:09 -07:00
Wes McNamee
14895d97ca docs: delete extraneous changelog 2019-10-16 20:17:45 -07:00
Wes McNamee
aac603dcda
Update CHANGELOG.md 2019-10-16 20:04:43 -07:00
Wes McNamee
add67cab4a chore(release): 1.11.0 2019-10-16 20:03:11 -07:00
Wes McNamee
22371db7ce chore(release): 1.11.5 2019-10-16 20:02:00 -07:00
Wes McNamee
78de3ff92f chore(release): 1.11.4 2019-10-16 20:01:07 -07:00
Wes McNamee
5b38cfaa2b chore(release): 1.11.3 2019-10-16 19:59:54 -07:00
Wes McNamee
cf2219deab chore(release): 1.11.2 2019-10-16 19:59:36 -07:00
Wes McNamee
2f3ad50bfb chore(release): 1.11.1 2019-10-16 19:59:25 -07:00
Shaun Dunning
a8bdfed27f feat: add support for JWT auth with qsh needed by add-ons 2019-09-05 11:04:10 -07:00
Wes McNamee
913be01848 add go 1.13 builds, allowing failures 2019-09-05 11:03:44 -07:00
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