I would like to bulk upload scheduled issues instead of creating my 150 tasks one by one.
So far, it seems there is no way to either bulk export the scheduled issues or bulk import scheduled issues into the scheduler.
Thanks,
Roberta
Hi @Roberta ,
I have been able to achieve that by creating a XML file to upload into the scheduler, it needs to follow a specific schema of the following:
<TheSchedulerBackup xmlns="http://www.tt.com.pl">
<BackupInformation>
<JiraVersion>{InsertVersion}</JiraVersion>
<PluginVersion>{InsertVersion}</PluginVersion>
<BackupVersion>{InsertVersion}</BackupVersion>
<BackupCreator>{InsertCreator}</BackupCreator>
<BackupTime>{today's date?}</BackupTime>
<ExportType>{InsertExportType}</ExportType>
<SkipDisabled>{true/false}</SkipDisabled>
<DisabledAmount>{insertAmount}</DisabledAmount>
<SkipInvalid>{true/false}</SkipInvalid>
<InvalidAmount>{insertAmount}</InvalidAmount>
</BackupInformation>
<TheSchedulerData>
<ScheduledIssueElement> this would be each issue
</ScheduledIssueElement>
</TheSchedulerData>
</TheSchedulerBackup>
I believe you can get this schema if you download from the scheduler.
I then used Python to generate a XML file from a CSV that had all the issues I needed to import into the scheduler.
Unfortunately I was not able to find any online CSV to XML converter that would work with this specific schema, so best way I found to do it was to build my own.
If you'll use Python, I used the following:
Afterwards you just need to have a CSV file to import, and then start building your XML tree based on your CSV columns. A download from the scheduler should give you the exact schema you need for what all nodes it requires.
Also since it took me a while to figure this out, in order to make a node be a child of another node, you need to have the main node extend the child node, ex:
main = etree.Element('TheSchedulerData')
sub = etree.SubElement(main, 'ScheduledIssueElement') # This would be inside a loop iterating over every row of your CSV file
main.extend(sub)
Amazing! :)
In the future, we hope to create some bulk creation process and clean up import/export features.
For others interested in som bulk operations not available through UI, this might give you the idea of how to work with export/import feature through simple editions in case of: changing the creator.
Note: Jira Server / Data Center only
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So I just stumbled on this question again after I myself needed to find the answer, seeing that my previous answer only answers what to do AFTER finding where to upload.
You can find the import bulk in JIRA administration (cog icon on top right) --> Manage Apps --> Import Scheduled Issues under The Scheduler.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pierre, curious to know if this is an option that was removed, limited to the "full" version of Scheduler (I'm currently on a trial to see if it fits my team's needs) or another methods to access a bulk import feature?
Following your outlined steps, I don't seem to have that option available to me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ivan Garcia , I can still see the "Import Scheduled Issues" on my end, we're on Scheduler v6.5.7 and JIRA DC v9.4.8
Not sure if this is a DC only feature, or a paid only feature (or potentially both).
@Łukasz Modzelewski _Lumo_do you know by chance?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.