Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JiraPS - Trying to Query Issues

Leandro
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 31, 2025

Hello! 

 

I really need some help while trying to query the Jira issues with Powershell. I already read the JiraPS manual, but, i couldnt access my portal through PS or even by their examples.

 

All i receive is: 

(3) URL rejected: Port number was not a decimal number between 0 and 65535

 

I'm not using a Cloud Site, but On Premises. Right now, i'm stuck on this: 

 

curl.exe -D- -X GET (user):(token generated in Jira) -H "Content-Type: application/json" "https://onpremises.site.com"

1 answer

0 votes
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 1, 2025

Hi @Leandro 

Welcome to the community.

Is you token url encoded?

See this KB article: https://support.atlassian.com/bitbucket-data-center/kb/git-commands-failing-with-url-rejected-when-using-http-access-tokens-as-basic-auth/ 

The KB is based on bitbucket, but the same should apply for Jira

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events