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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Connecting existing work projects with generates tasks via CLI

SAYF
4-Participant

Connecting existing work projects with generates tasks via CLI

I can create a task via CLI but I need to also link these to existing work pakages also via CLI, is it possible to do this.

ACCEPTED SOLUTION

Accepted Solutions
awalsh
17-Peridot
(To:SAYF)

Could you explain what you mean by linking to existing work packages? Are these items in Integrity?

 

Assuming the task you are creating is an Integrity Item and you want to link to another Integrity Item:

On the CLI, after creating the task, you can edit it and change particular fields.

To link to another Integrity Item, you can add a relationship to that Item. For example: "im editissue --addRelationship="<Relationship Field Name>"=<Related ID> <Item ID>", where <Relationship Field Name> is the name of the relationship field, <Related ID> is the ID of the item to relate, and <Item ID> is the ID for the task.

 

For more information on the im editissue command, see the CLI Reference in the Online Help: https://support.ptc.com/cs/help/integrity_hc/integrity111_hc/en/#page/IntegrityHelp%2Fim_editissue.html%23

 

View solution in original post

1 REPLY 1
awalsh
17-Peridot
(To:SAYF)

Could you explain what you mean by linking to existing work packages? Are these items in Integrity?

 

Assuming the task you are creating is an Integrity Item and you want to link to another Integrity Item:

On the CLI, after creating the task, you can edit it and change particular fields.

To link to another Integrity Item, you can add a relationship to that Item. For example: "im editissue --addRelationship="<Relationship Field Name>"=<Related ID> <Item ID>", where <Relationship Field Name> is the name of the relationship field, <Related ID> is the ID of the item to relate, and <Item ID> is the ID for the task.

 

For more information on the im editissue command, see the CLI Reference in the Online Help: https://support.ptc.com/cs/help/integrity_hc/integrity111_hc/en/#page/IntegrityHelp%2Fim_editissue.html%23

 

Announcements


Top Tags