Skip to main content

Hi, im trying tu create a card relation

 

mutation {

createCardRelation(input: {

parentId : 80500my card parent id],

childId : 65522mi card child id],

sourceType : "PipeRelation",

sourceId : "someei donr not what put here!]"

}) {

clientMutationId

}

}



If i setup the sourceId as my organization id then i get “"Validation failed: Source Source PipeRelation is not connected to repo”


 

 

Yes, the error already shows you that what you put in “sourceId” is incorrect.

In your case, you need to figure out the id of the pipe relation:

you can query all the child pipe relations of one pipe like this:

query {
pipe(id: iyourPipeId]) {
childrenRelations {
id, name
}
}
}

use the resulting id of the connection you are interested in for the “sourceId”.


@genietim thanks for helping me!

It works fine!


Reply