Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Can we utilize python for scripting or automation in Jira?

Hi Everyone,

In our Jira admin team we want to on-board a Python developer for some other project but we want to him work in Jira team as well for scripting and automation part.

My question is "can we use python as an scripting language for automation or data flow in jira"?? if yes we can utilize the same resource for both purpose.

Please let us know if anyone is already using python for scripting in jira or know how to do it.

Please also let us know what should be the setup for using python as scripting language in Jira like any additional add-on for jira is required or can be done with jira only.

Thanks a lot in advance.


4 answers

1 accepted

4 votes
Answer accepted
Mykenna Cepek Community Leader Sep 30, 2021

You can use the Jira REST API from most any language, including python.

The built-in Jira Automation, however, doesn't support embedded scripting.

Hi Shib,

I don't know if this is the only answer, but you could use Python if you ran it as a web service, and use the Jira Automation component Send web request in your flow.  The response is available as part of the {{webResponse}} specifically {{webResponse.body}}.  

Specifics are here: 


Mykenna Cepek Community Leader Sep 30, 2021

Good point, @Erin Quick-Laughlin. Jira Automation can send web requests outbound. So this approach can be used for "data flow" from Jira to a custom web service.

But this functionality doesn't support the "use [of] python as [a] scripting language for automation" as noted in the original post. Maybe it helps with part of what @Shib Saha is trying to do, though!

Like Bill Sheboy likes this
0 votes
Darryl Lee Community Leader Oct 01, 2021

There's a few Python REST API wrapper packages, but I can't vouch for how well they work.

This one is only for Jira, and looks well-maintained:

This one covers multiple Atlassian products, but I'm not sure if it's as well-maintained:

If you're more of a DIY person, here's some examples that include all the hairy details about auth, etc:

Hi @Shib Saha 

For several year now, we use Python scripts + Jira REST API to automatically create tasks when onboarding new people. Then, Jira Automation updates tickets with additional details. Great combination.

Excel/VBA would have been more relevant to simply push a table into Jira, but I guess we are using Python for the same reason as you :-)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

29 views 0 1
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