Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

The Scheduler Add-on - How can I bulk upload scheduled issues?

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

2 answers

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:

  1. Python 3.6
  2. Pycharm IDE
  3. the csv library
  4. the lxml library (from lxml import etree)

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)

 

Łukasz Modzelewski _TTPSC_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
May 05, 2021 • edited

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

Like Pierre Ibrahim likes this

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.

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.

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 _TTPSC_do you know by chance?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events