I’m trying to use the circleci/jira orb in a project and we keep getting the following error during the -jira/notify post-step:
Attempt to get Jira Issues from https://circleci.com/api/v1.1/project/github/...
jq: error (at <stdin>:2): Cannot iterate over null (null)
Exited with code 5
The JIRA integration in the settings seems to work, the CIRCLE_TOKEN environment variable has been set properly and the https://circleci.com/api/v1.1/project/github/… call does seem to yield parsible JSON with correctly formatted issue codes. The relevant config.yml info is set up like this:
Attempt to get Jira Issues from https://circleci.com/api/v1.1/project/github/myproj/pyrepo/101
jq: error (at <stdin>:476): null (null) cannot be matched, as it is not a string
Exited with code 5
No updates here. I’m experiencing the same issue with orb 1.0.6
I’ve also setup the environment variables; and the link works when opened manually in an authenticated window; or when appending ?circle-token=… in CURL or an incognito window.
Should the API token be for all build information; instead of status only?