Commit Graph

21 Commits

Author SHA1 Message Date
ldelossa 6a27e28c61 username-deprecation: use email and display names
this commit deprecates the searching ability by username and
instructs user to provide email or display names in commands.

the username parameter has been deprecated completely from v2 and v3
api

Signed-off-by: ldelossa <ldelossa@redhat.com>
2020-08-28 17:59:14 -04:00
Thibault Jamet a311d0d817 Add support to get all comments for an issue 2020-03-24 14:44:55 +01:00
Cory Bennett a26683e01d update all usage of user.name to user.accountId for privacy migration:
https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/
2020-02-23 23:59:39 -08:00
Mike Pountney 27f57b2bbe Switch over to using github.com/go-jira/jira, from gopkg.in
There should be no reason to use gopkg.in versioned imports now that
we're using go modules. I think, IANAE.

gopkg.in kind of gets in the way of modules, as it only pulls over
tagged releases from github.com -- this then means that you need to use
go modules 'replace' syntax in the go.mod to use a non-versioned commit
or branch. This is feasible, but kind of ugly.

go modules defaults to pulling the latest version, so the default
behavior is the same as when pulling go-jira.v1 from gopkg.in.
2019-09-14 21:31:11 -07:00
Daniel Martí 31c113d1ba all: unindent some code 2019-05-28 11:01:51 +01:00
Daniel Martí 9bcdcc128f don't use ReadAll when decoding JSON
An empty stream isn't valid JSON, so we shouldn't silently ignore it.
2019-05-27 13:09:31 +01:00
Daniel Martí 9b9186f7d4 start making staticcheck happier 2019-05-27 10:49:15 +01:00
Cory Bennett 9146346e2f [#163] fix url path join logic 2018-04-15 16:56:09 -07:00
Cory Bennett 2e608207cb add tests for validating changes to auto-generated jiradata files 2017-10-28 12:19:36 -07:00
Mark Harrison 2f9b8bb5c1 Add URL escaping to an additional issuetype call
In #34 a fix was made to escape the issue type to support issue types
with spaces in. This is an additional place where the issue type needs
escaping, otherwise you get 400 Bad Request when trying to create an
issue for an issuetype that has a space in.
2017-10-26 16:28:41 -04:00
Cory Bennett 66eb7bff38 [#100] add support for posting, fetching, listing and removing attachments 2017-09-17 15:18:06 -07:00
Cory Bennett c89f11d5b5 update generated data files 2017-08-27 19:41:49 -07:00
Cory Bennett 1f345cedee refactor trivial objects in favor of arguments to static functions 2017-08-27 00:47:11 -07:00
Cory Bennett f32cc7079c fix IssueAssign 2017-08-20 23:08:45 -05:00
Cory Bennett 959524af23 add take, unassign and assign|give commands 2017-08-19 16:02:29 -07:00
Cory Bennett f0b08c5869 add comment command 2017-08-19 15:08:34 -07:00
Cory Bennett ec0ac3c4b8 add watch command 2017-08-14 08:59:59 -07:00
Cory Bennett 8b863d297b add rank ISSUE after|before ISSUE command 2017-08-13 23:54:22 -07:00
Cory Bennett a08c92f3aa add vote command 2017-08-13 23:08:40 -07:00
Cory Bennett 37f81a4631 add issuelinktypes command 2017-08-13 22:38:22 -07:00
Cory Bennett 36632a52f0 rewrite checkpoint 2017-08-13 18:23:38 -07:00