Unique Summary Field

I'm trying to import some custom issues from the DB1 to DB2 but I get duplicates because in DB1 I don't have the keys give to my issues in DB2, so I want that my Summary field to be unique for all my issues (because it contains the issue id from DB1).

Can I create such a condition at import time?

 

1 answer

1 accepted

Accepted Answer
2 votes

No, the imports don't have additional validation you can add.  Generally, you need to sanitise your data before you import it, or do it in two passes - one to create the main issues which you can then refer to in the second pass, so that the second pass contains updates instead of new items.

I've done it like this: export the current data from DB2 and then remove from DB1's cvs all the allready existing issues (in DB2's csv), so making sure that I'll only import new things ... it's not pretty but it will have to work until I get my hands on Jira's sources and write my own plugin :D

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

22,709 views 2 7
Join discussion

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you