Any commands to use the API returns the error:
acli jira workitem search --jql 'project = OA AND assignee = currentUser()'
I've tried the following methods and neither of them works:
1. re-auth
acli jira auth login --web
# auth on web
# press enter in terminal
acli jira auth status
# returns ✓ Authenticated and the correct jira account information
2. Delete ~/.config/acli and re-auth
Hi @James Su
Welcome to the community!
This sounds like the auth is valid in ACLI, but not for the specific product/context the command is trying to use.
A couple of things I would check first:
1. Make sure the Jira product auth is the one that is actually active
acli jira auth status
If needed, run:
acli jira auth login --web
2. Confirm the site/account you authenticated against is the same site the command is targeting.You can be authenticated in general, but still not have access to the Jira site/project the command is querying.
3. Check whether the account has the right Jira product access and project permissions
If the account can authenticate but does not have Jira access on that site, API-style commands can still fail.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.