Forums

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

Can anyone help me get this python backup script to work?

twan October 16, 2020 edited

Hey,

I am trying to use this https://bitbucket.org/atlassianlabs/automatic-cloud-backup/src/master/jira_backup.py python script to automate backup in jira cloud.

But I am not so famailer with python so i need some help.

Where do I fill in my variables? Under def main() at line 93 ?

When I run the code I get this error:

File "c:/Users/ /Desktop/ / /Backup_Jira.py", line 13, in <module&gt;
import requests
ModuleNotFoundError: No module named 'requests'

I dont understand where i am suppose to get the import from.

Anyone know how I can get this script to work?

Any help is much apriciated!

1 answer

0 votes
Gonchik Tsymzhitov
Community Champion
January 27, 2021

Hi! 

I do recommend you update the requirements.txt file. 

like this https://github.com/atlassian-api/atlassian-python-api/blob/master/requirements.txt

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
atlassian, mindful member, mindful member badge, atlassian community, community kudos, community giveaway, atlassian swag, community values, empathy and kindness, badge challenge, atlassian learning, community engagement, swag giveaway

Earn a Badge, Win a Prize 🎁

Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!

Start here
AUG Leaders

Atlassian Community Events