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

Is there any way to execute jira JQL query from python script.

Is it possible to execute JQL query from python script and get the result in a xml or character delimited format.

 

Regards,

Urmimala

(NagraVision)

3 answers

Yes, you can call jira's rest api it will return a JSON response.

In python you can use the os.system() function to use curl and get the jql required.

Check out this and this example.

Yes - use the search REST API. Also, requests is a good client library which you can use in Python to execute the REST call.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

1,076 views 7 0
Join discussion

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