I need some help trying to create this automated process in which an issue is created automatically once a month. I've already tried the plugin The Scheduler, which didn't work because of some error message I've always received after creating the original issue.
Now I've contacted the Atlassian Support who told me that it is possible to create something like this using Jelly.
I need to have this checklist created once a month and it needs to be assigned to a group of users.
Any help on how to accomplish this would be very much appreciated.
First, create a Jelly script that does the job when you run it as an admin in the foreground.
The basics of enabling Jelly and where to run them is at the top of https://confluence.atlassian.com/display/JIRA/Jelly+Tags - skim that, and then look further down, specifically for "Jira:CreateIssue"
Once you have a script that does what you need, when you run it manually, head off to https://confluence.atlassian.com/display/JIRA/Services to see how to set it up as a "service" which you can schedule.
Not really. I think you can do attachments in Jelly, so you could create a simple template spreadsheet and upload a copy of that every time as part of the script. But it's an attachment, not a checklist
The other option that springs to mind is to ensure the Description field uses the wiki-markup renderer and then put a table or bullet point list in the description as it creates the issue.
but if I'd use attachements there would always have to be a issue key which I would not know because the issue is not yet created.
Here's the code I'm currently using:
<JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.JiraTagLib"> <jira:Login username="Sebastian" password="***"/> <jira:CreateIssue project-key="PT" assignee="Test" summary="LKWs checken" description="" reporter="Sebastian" duplicateSummary="ignore" > <jira:AttachFile key="???" filepath="/tmp/somefile" option="override"/> <!-- other jelly tags --> </jira:CreateIssue> </JiraJelly>
The only thing I have at that moment is a project key. As an alternative I could maybe use an URL to a file, that could be downloaded.
Thanks so far. If you have any other ideas please let me know.
For automatic repeating issues you can use Repeating Issues for JIRA https://marketplace.atlassian.com/plugins/com.codedoers.jira.repeating-issues
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot