767 Commits

Author SHA1 Message Date
coryb 748b7d552f Merge pull request #512 from go-jira/v3-api-search
update for v3 search api
2025-11-11 11:18:26 -08:00
Cory Bennett bf988a00b4 update for v3 search api 2025-11-11 11:08:53 -08:00
Judson Lester f50f3d2b16 Merge pull request #398 from nenad/patch/load-config-browse
Load config on "jira browse"
2025-05-07 11:44:51 -07:00
Ron Green 4263bd24f9 Merge pull request #450 from georgettica/georgettica/add-summary
feat(create): allow setting summary
2022-10-27 10:03:49 +03:00
Judson Lester f922fc7fb7 Merge pull request #440 from makkes/default-col-width
feat: add `defaultColWidth` template function
2022-10-26 17:28:42 -07:00
Judson Lester a5358286b2 Merge pull request #416 from samsm/patch-1
Update (miscopied?) description of rank command
2022-10-26 17:28:16 -07:00
Judson Lester e3f29d4884 Merge pull request #395 from seanblong/bug/remove-login-loop
Remove (possible) infinite loop from CmdLogin.
2022-10-13 10:11:48 -07:00
Ron Green 10ad221ce4 attempt to make tests pass 2021-12-05 18:00:31 +02:00
Ron Green 6e90b2000a feat(create): allow setting summary
shamelessly taken from his fork

a part of me going through all of the forks and pulling all of the
useful info out

Co-authored-by: Ben Cordero <bencord0@condi.me>
2021-12-05 17:56:12 +02:00
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
Max Jonas Werner 80adab38ee feat: add defaultColWidth template function
This function can be used in templates to change the default column
width to accommodate wider terminals.
2021-08-09 13:15:32 +02: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
Sam Schenkman-Moore 7f1a21fd5c Update (miscopied?) description of command
This looked like an artifact of a copy/paste sorta situation: the current description for the `rank` command has the description for the `block` command.

I ad libbed a new description that is hopefully at least _more_ correct 😄
2021-04-10 11:05:48 -04:00
Nenad Stojanovikj c32908a6ff Load config on "jira browse"
This is done in order to ensure consistency with the other commands on how the configuration files are loaded. I found out about it when I had set up a global project, but the "jira browse 1234" command complained about missing project.
2020-11-30 15:02:48 +01:00
seanblong 1c55c069d3 Remove (possible) infinite loop from CmdLogin. 2020-11-16 19:59:13 -08: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