Observation with JSON import ..

satyakam panigrahi November 12, 2013

{

"links": [

{

"destinationId" : "BUG-79",

"sourceId" : "BUG-78",

"name" : "clones"

}

]

}

This is sample JSON file what i am using to establish link of type "clones" between "BUG-78" & "BUG-79" via JSON import

Result of JSON import>

Link tpe is coming as "clones" for both source ID & destination ID ,

Where i was expecting for Destination it sould come as "is cloned by"

Note: if i do manually it comes correctly ..

Can any body please guide me ?

1 answer

0 votes
Natalie Hobson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 13, 2013

Hey,

Can you confirm that the name of the Link type (as viewed in administration settings) is "Clones"? For example, the clone link type in our instance is called "Cloners" (with outward/inward descriptions of "clones" and "is cloned by"). :)

satyakam panigrahi November 14, 2013

Yes, it is "clones" only & as u told outward/inward descriptions of "clones" and "is cloned by" for it..l

But via JSON import the link type is coming as "clones" for both Source ID & Destination ID , ..

Where as if i am using "Jelly script runner" it coming correctly so may be this is the limitation with JSON import ...

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events