Dear Team,
I am trying to create a github action workflow using atlassian/gajira-cli@v3. I am trying to list tickets with a specific summary, for which I am using this
name: Test-JIRA
on : [workflow_dispatch]
jobs: Jira-check:
runs-on: ubuntu-latest
steps:
- name: setup
uses: atlassian/gajira-cli@v3
with: version: 1.0.27
- name: Check ticket does not already exist
id: find
env: JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
run: jira list --query "resolution=unresolved AND issuetype=Task AND summary~'${{ github.event.pull_request.title }}' AND project=ABC" --queryfields=issuetype,summary,priority,assignee,status,created,reporter,summaryHowever, I am getting this error ERROR Invalid Usage: Post "rest/api/2/search": unsupported protocol scheme ""Kindly help on this
Welcome to the Atlassian Community!
That looks like gajira-cli is not including the base URL of the target Jira system in its REST calls. Have you configured it with the right base URL?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.