Help regarding importing link information via JSON import ..


"links": [


"name": "clones",

"sourceId": "BUG-45",

"destinationId": "BUG-46"




This is my test JSON file to link two issues i.e. BUG-45 to BUG-46

but by importing this i am getting errror as "failed to create data bean"

Can anybody tell me, if there is anything wrong in my attempt or in the file format ??

2 answers

If that's the exact file you were trying to import I need to let you know that this isn't a correct JSON file, you have "," after elements } and ] but they are not followed by another item.

It's incorrect to put "," after an element if it's not followed by another. See that's good [1, 2, 3] , that's bad [1,2,].

If it's not the exact file I'd suggest posting your atlassian-jira.log so I can see what's going on.

Thanks pawel,

yes you are correct, it should not have "," after } & ]

I have one more query, if i want to do bulk import then in that case my file should look something like below,

i.e for each case i need to include name field "clones" , i was checking by putting the list of source IDs & destination IDs under single "clones" field but its not working in that case..


"links": [


"name": "clones",

"sourceId": "TestBUG-444",

"destinationId": "TestUG-555"



"name": "clones",

"sourceId": "TestBUG-51",

"destinationId": "TestBUG-52"




Yes, that's the only way to import multiple links.

Hi pawel,

I am following similar way of of importing the linking relationship via JSON,

But by doing this what i observed is:

Link type is coming as "clones" for both source ID & Destination ID, where as i was expecting it should come as "clones" under source ID and "is cloned by" under destinatioin ID,

can you pease help me ??

Suggest an answer

Log in or Join to answer
Community showcase
Louis De Jaeger
Posted Thursday in Off-topic

Friday fun: your best joke

Hi all Lets make this Friday fun really fun and post one (or more) of your best jokes! The joke can be about an Atlassian product, or just a really fun joke you want to share! I’m not the best j...

189 views 12 3
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot