Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,475
Community Members
 
Community Events
176
Community Groups

Error : ERROR Invalid Usage: Post "rest/api/2/search": unsupported protocol scheme ""

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,summary

However, I am getting this error ERROR Invalid Usage: Post "rest/api/2/search": unsupported protocol scheme ""Kindly help on this

1 answer

0 votes

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?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS

Atlassian Community Events