You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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.