Forums

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

Shell script to automatically close an issue after 24 hours

Sanjana Sen February 3, 2022

How to automate jira using shell or bash script to automatically close an issue after 24 hours? 

P.S my company doesn't provide the default jira automation facilities.

2 answers

1 vote
Pramodh M
Community Champion
February 4, 2022

Hi @Sanjana Sen 

Welcome to the community 🙂

Using the Python API wrapper below

https://atlassian-python-api.readthedocs.io/

Here's the detailed step on how to achieve the same

Write the JQL for resolved issues and move the status to closed status

Write a cronjob in Linux server for the same

Let me know if you have any queries

Thanks,

Pramodh

1 vote
Vishwajeet Singh
Contributor
February 3, 2022

Hi @Sanjana Sen you can look at Python Jira client and build a script using the same.  Find the link  https://jira.readthedocs.io/

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events