cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How to add Relationships between 2 document contents with CLI ? Example:

SOLVED
Chittaranjan_11
12-Amethyst

How to add Relationships between 2 document contents with CLI ? Example:

Hello Team,

 

How to add Relationships between 2 document contents with CLI ?

 

Example:

Input Document (Input ID 123)

Requirement Document (Requirement ID 456)

Input Decomposed To Requirement OR vice-versa

 

How to make this relationship via CLI command ?

 

Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions

I got the solution with addrelationship command,

 

Example: Input 123 --> Decomposed To --> Requirement 456

 

im editissue --hostname=XXXX --port=XXXX --user=XXXX --password=XXXX --addRelationships="Decomposed To:456" 123

 

Its working!!

 

Thanks @MichaelChatel 

View solution in original post

2 REPLIES 2

Do you wish to set relationships at the time of creation, or you're trying to link these together, after the fact?

 

You may want to open a Support case for this, but I imagine you'd want to use the addRelationships and removeRelationships options, if trying to do this after the fact?

 

ex.

https://support.ptc.com/help/windchillrvs/r12.3.1.0/en/#page/IntegrityHelp%2Fim_editissue.html%23

I got the solution with addrelationship command,

 

Example: Input 123 --> Decomposed To --> Requirement 456

 

im editissue --hostname=XXXX --port=XXXX --user=XXXX --password=XXXX --addRelationships="Decomposed To:456" 123

 

Its working!!

 

Thanks @MichaelChatel 

View solution in original post

Announcements