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

How to get current Jira DataCenter server version in Python


I'm looking for way to get Jira DataCenter version while use Python script , do you familiar with any way ? I checked JIRA module but I didn't find this option over there. 




2 answers

1 vote
Daniel Ebers Community Leader May 08, 2021

Hi @pop75 pop75

in order to query that information via REST API endpoint api/2/serverinfo like Nic already perfectly stated it does not matter if you are coming through a basic auth or personal API token (PAT) available from v8.14 on - these are just slightly differences in authentication, the call to API endpoint which will give you the desired information is the same in technical matters.

So, yes, you can just use Basic Auth for the moment.


0 votes

Your python can make the REST call to get from api/2/serverinfo - the response will contain both the human version and the build number

Note that for DC it will return the info for the node that services the call, other nodes may be running on slightly different versions

Hi Nic

thank for your reply , I run JIRA DC 8.13.x version Do I have to use Basic auth for the same ? I understood API token available from 8.14.x version




For the authentication element, I'm going to point at what @Daniel Ebers said - it's right, and better written than what I'd say.

Suggest an answer

Log in or Sign up to answer
Community showcase

The benefits of using Jira in different departments

Jira is a great tool to use across different departments. Forget that paperwork – switch to Jira and get that tasks done smoothly. Marketing Jira allows for a complete digital transformation of you...

90 views 0 5
Read article

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