Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Authentication error: 401 when trying a JIRA REST API call.

Hi I am new to this community. I am looking to call the JIRA REST API. The problem is when I try make a connection it gives me an authentication error: 401. I am using basic authentication via Python (Requests module). There is no additional security, so I am suspecting a firewall between my laptop and the JIRA server.


I have the server IP address, but I need the port number so that I can run a NC command.

Problem is no knows the port number ?

Is there a way I find this out programmatically or otherwise ?



2 answers

0 votes


First of all, welcome @Dani Rubin 

In that situation, you can double check does your Jira, works with SSO. 

Do you have token for auth?

Did you try some package from pypi ? 



Gonchik Tsymzhitov

Hi Gonchick

Generally we use SSL / AD authentication and I haven't required certificates for REST API.

I will look at that python package.


Thank you

Hi @Dani Rubin ,

Bydefault Jira tooks 8080 port without any kind of customization. Please check with this if it is workable for you or else you can get this information from Jira Admin by two ways :-

1) The base URL value listed in Jira's General Configuration page (

2) The server.xml file tells Jira's application server which ports to listen on.



Hi @Prashant Mali 

Thank you, I will investigate these 2 options.

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you