-
Notifications
You must be signed in to change notification settings - Fork 328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"jira list ..." encounters "ERROR Invalid Usage: invalid character '<' looking for beginning of value" #477
Comments
I tried to follow the information provided in issue #250 but no success yet. |
This problem is authentication failure, which is very likely is being caused by mixup of how user, username, login, password, and/ or api-token should be used. |
I hit this myself yesterday. Add three
The I'm successfully using PAT tokens (authentication-method: bearer-token) with issues.redhat.com but I needed to build from source (main) to pick up changes that include the support. HTH |
Could you expand on the process you used for bearer-token auth? |
I've stopped using the tool. However, my config (which IIRC was working):
|
I am trying to write some go code to fetch JIRA issues from our internal JIRA deployment. No such problem is encountered when using Python. I am very new to "GO" and thinking running Jira query should provide an easy ramp. Hopefully someone can spot the mistake I am making.
The error is the same when I did the following. The actual project name has been replaced by
<PROJECT_NAME>
in this submission:jira search
jira list --query="project=<PROJECT_NAME> AND resolution = Unresolved AND assignee = currentUser()"
jira list --query="resolution+=+Unresolved+AND+assignee+=+currentUser()"
. This query was provided by Firefox's "Web Developer Tools"jira list --template table --query="project=<PROJECT_NAME> AND resolution = Unresolved AND assignee = currentUser()"
The project name is specified in
~/.jira.d/config.yml
and usingJIRA_API_TOKEN
because ofauthentication-method: api-token
.Here is
~/.jira.d/config.yml
:Here is the full console output for the commands provided above:
The text was updated successfully, but these errors were encountered: