Mike Pountney
07bd89afca
Merge pull request #447 from catskul/fix-rvl-auth-bearer-token
...
Fix rvl auth bearer token branch
2021-11-27 17:09:03 -08:00
Andrew Somerville
b3723c7b63
wrap token comparisons in a function, proliferate it virtually everywhere apk-token was, and fix some related tab/space issues
2021-11-21 01:21:26 -05:00
Rodney Lorrimar
ccb5fadfc3
Add documentation for bearer token authentication
2021-08-03 13:18:36 +08:00
Rodney Lorrimar
fedc66614f
Add authentication-method: bearer-token
2021-08-03 13:02:38 +08:00
Ron Green
a59fdc81fc
feat(OWNERS): make myself a code owner
2021-05-27 09:10:23 -04:00
Ron Green
892bedc8a2
fix(actions): fix release.yml
...
this is a WIP and should solve the promotion problem
2021-05-18 09:55:03 -04:00
ldelossa
29b5dda228
chore: v1.0.28 changelog bump
2021-05-05 10:18:27 -04:00
Ron Green
f16109e038
Update prepare-release.yml
2021-05-05 10:15:09 -04:00
Ron Green
f089cd51f2
go fmt all tree
2021-05-05 08:40:24 -04:00
mlerman
70e91a94b5
Update cli.go
...
adding option --file for create command
2021-05-05 08:40:24 -04:00
Ron Green
298a637f8c
fix rebase issue
2021-05-05 08:40:24 -04:00
ldelossa
2c7a9b2830
chore: V1.0.27 changelog bump
2020-10-07 16:09:58 -04:00
Evan Gates
f7587f43f1
block: reverse order of arguments
...
The BLOCKER and ISSUE arguments for the block command were incorrect.
With hypothetical ticket names BLOCKER and ISSUE, calling
jira block BLOCKER ISSUE
resulted in
ISSUE blocks BLOCKER
BLOCKER is blocked by ISSUE
which is the reverse of the documentation which claims it should be
BLOCKER blocks ISSUE
ISSUE is blocked by BLOCKER
Reverse order of the arguments so the documentation matches the
actual usage. This does not break existing usage, only updates the
documentation.
Fixes #383
2020-10-01 13:48:18 -04:00
Evan Gates
0e3082fab6
templates: add wrap helper function
...
Add "wrap" command to TemplateProcessor. Use
github.com/mitchellh/go-wordwrap to wrap lines on word breaks at
a given length. This can make long fields much more readable in
a terminal. E.g.
{{ .fields.description | wrap 76 | indent 2}}
2020-09-30 11:51:06 -04:00
Keien Ohta
6fbc522ee7
also use login for subtask
2020-09-15 13:31:17 -04:00
Keien Ohta
c2abbd9864
update templates with emailAddress and login
...
go-jira/jira#369
2020-09-15 13:31:17 -04:00
ldelossa
c3d22b765a
chore: v1.0.26 changelog bump
2020-09-11 14:12:24 -04:00
ldelossa
96ec3339a4
cicd: automated releases fixes
...
Signed-off-by: ldelossa <ldelossa@redhat.com >
2020-09-11 14:04:47 -04:00
ldelossa
31f7b03978
cicd: automated changelog and release
...
Signed-off-by: ldelossa <ldelossa@redhat.com >
2020-09-11 10:50:22 -04:00
ldelossa
578c44c628
chore: v1.0.25 release
...
Signed-off-by: ldelossa <ldelossa@redhat.com >
2020-09-11 09:31:35 -04:00
ldelossa
aa8dae7c5b
bugfix: only build jira tool with gox
...
previosly running the "make all" target build th schema binary with the
same name as the jira binaries. This caused the schema tool to be called
incorrectly. Gox performing parallel builds made this issue only happen
"somtimes".
Signed-off-by: ldelossa <ldelossa@redhat.com >
2020-09-11 09:15:07 -04:00
ldelossa
a8c961fe19
tests: rework passive tests into native go tests
...
this commit re-works the basic.t tests and administers them using go's
native testing suite.
Signed-off-by: ldelossa <ldelossa@redhat.com >
2020-09-11 09:15:07 -04:00
Alan Voiski
42e5d23f63
Ensure body is NPE safe
2020-09-07 16:24:45 -04:00
Alan Voiski
b572037cfe
Support empty responses in request commands
...
Avoid JSON parser when the response is empty - common cases for HTTP 204 in issues deletion, or moving issues to sprint.
2020-09-07 16:24:45 -04:00
ldelossa
ff5decc114
fix(changelog): fix changelog version
2020-09-04 15:58:38 -04:00
ldelossa
1d27af0a2c
Updated Changelog
2020-09-04 14:30:24 -04:00
Dan Loewenherz
7179f36e5f
ensure GO111MODULE is set to on prior to installing
...
This closes #291 .
2020-09-04 14:21:49 -04:00
coryb
a1450e879f
Merge pull request #367 from bbkane/master
...
Make -h flag show --help
2020-08-31 16:30:07 -07:00
Cory Bennett
7da5f353ac
add @ldelossa to list of default reviewers
2020-08-31 16:26:57 -07:00
Cory Bennett
18e2c1d5b7
version bump
2020-08-31 16:23:50 -07:00
Cory Bennett
c6ef367e89
Updated Changelog
2020-08-31 16:23:50 -07:00
Benjamin Kane
4bf1d030e7
Make -h flag show --help
2020-08-31 16:12:42 -07:00
ldelossa
d093bcf63a
cicd: deflake tests
...
this commit removes the parallel test matrix as parallel testing runs
the potention of trampling one another
Signed-off-by: ldelossa <ldelossa@redhat.com >
2020-08-31 13:26:57 -04:00
ldelossa
3bc5e42bd0
tests: transition if under review
...
this commit attempts to transition any failed test issues if they ticket
is left in "Under Review" state
Signed-off-by: ldelossa <ldelossa@redhat.com >
2020-08-31 12:55:19 -04:00
ldelossa
3c1c4d95e1
transition: map field name to id
...
this commit allows a user to use the more friendly field.Name when
transitioning to states which require custom field inputs.
Signed-off-by: ldelossa <ldelossa@redhat.com >
2020-08-28 22:06:46 -04:00
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
coryb
36e2a914cd
Merge pull request #349 from aszenz/patch-1
...
Fix command for sprint issues w/o project
2020-06-18 09:40:59 -07:00
coryb
97591ef200
Merge pull request #355 from go-jira/vanniktech-patch-1
...
Remove myself as a code owner
2020-06-18 09:21:40 -07:00
Niklas Baudy
5c93c4e8d7
Remove myself as a code owner
...
Frankly, I've stopped using this since I went from being employed to freelance and only a few of my clients are using Jira.
2020-06-18 11:38:56 +02:00
asrar
a9dd1ed310
Fix command for sprint issues w/o project
...
Instead of echo error message, show all sprint issues
2020-06-12 12:01:36 +05:30
coryb
af7a8f45e4
Merge pull request #323 from tjamet/issue-comment
...
Add support to get all comments for an issue
2020-03-24 12:10:26 -07:00
Thibault Jamet
a311d0d817
Add support to get all comments for an issue
2020-03-24 14:44:55 +01:00
coryb
01c0c38d8c
Merge pull request #318 from jrschumacher/patch-1
...
Update README for simpler instructions for Atlassian Cloud users
2020-02-26 10:04:38 -08:00
coryb
417568ca2d
Merge pull request #317 from go-jira/privacy-migration
...
update all usage of user.name to user.accountId for privacy migration
2020-02-26 10:02:23 -08:00
Ryan Schumacher
fae004391a
Update authentication for more clarity
2020-02-25 16:06:58 -08: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
57e1c7426e
Merge pull request #302 from go-jira/simplify-template-tables
...
add template functions to handle table output, fixes #176 , replaces #296
2019-12-02 18:19:10 -08:00
Cory Bennett
7e9746304a
add template functions to handle table output, fixes #176 , replaces #296
2019-12-02 14:43:07 -08:00
coryb
7cd34d3698
Merge pull request #292 from pdecat/cache_password
...
Cache password to avoid invoking password source on each API request with api-token
2019-12-01 20:58:02 -08:00
coryb
f5871c5a58
Merge branch 'master' into cache_password
2019-12-01 20:41:49 -08:00