Looking for scripts which can automate create issue workflow in JSD using Jira REST API

Charan Nagaraja September 9, 2019

Hello Team,

I want to create automatic daily or weekly tickets in Jira service desk or Jira, I believe Atlassian do not ship with this feature out-of-the-box. However we can write our own script or cron job which can automate creating tickets in JSD or Jira using Rest API. I am sure there are third party plugins which does this tasks smoothly, However my organisation doesn't want to invest further on such workflow.  I am wondering if anybody gone through such task in your organisation to get some valuable feedback from your end.

Please do the needful,

1 answer

1 accepted

1 vote
Answer accepted
Ravi Sagar _Sparxsys_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 9, 2019

Hi @Charan Nagaraja 

It is quite common question. There are already lot of similar posts on the community on this topic.

If you are willing to do this outside Jira where you can control the frequency then it is quite simple task using REST API. You do that using a simple shell script (added to crontab) with a curl command or small python script.

You can start by looking here: https://docs.atlassian.com/software/jira/docs/api/REST/8.3.3/

This page will help you in understanding the api definitions. Look for Create issue

If you want to do it within Jira there you will most likely need an app like Automation for Jira or ScriptRunner for Jira.

Ravi

Charan Nagaraja September 10, 2019

Thank you for your suggestions.

Suggest an answer

Log in or Sign up to answer