Skip to main content
8-Gravel
Sep 25, 2014 8:41 AM UTC
Solved

How to get the author of drop operations in CLI?

Hello,

We need to find the author of drop member operations using CLI.

We tried to use "si mods" but the result shows the members and I get the CPs but I cannot match the dropped member with the CP used for the drop operation on that member.

>si mods --fields=change,name --showMemberChanges --showAttrChanges --showChangePackages --project=/xxx/yyy/project.pj --yes

We also tried:

>si viewsandbox --includeDropped --sandbox=d:\test_xxx\project.pj

But the result does not show me the author.

Any hints on this?

Thank you

Cristina

    tketzAnswer
    1-Visitor
    Sep 25, 2014 12:14 PM UTC

    Hello Cristina,

    we have the same problem an i have found a way to find out the user who dropped the member:

    From GUI:

    Use "ChangePackage"->"Find"

    Member type=member

    Project=yourProject

    Member=membername

    Entry type=drop

    Here you can find the ChangePackage which was used for the Drop-Command and also the user who created/used the ChangePackage.

    From CMD:

    si viewcps --filter=member:"membername" --filter=type:drop --filter=project:"yourprojectpath" --filter=membertype:member

    This way works...but it would be nice if there is a more easier way to get the information for dropped members/subprojects.

    2 replies

    tketz1-VisitorAnswer
    1-Visitor
    Sep 25, 2014 12:14 PM UTC

    Hello Cristina,

    we have the same problem an i have found a way to find out the user who dropped the member:

    From GUI:

    Use "ChangePackage"->"Find"

    Member type=member

    Project=yourProject

    Member=membername

    Entry type=drop

    Here you can find the ChangePackage which was used for the Drop-Command and also the user who created/used the ChangePackage.

    From CMD:

    si viewcps --filter=member:"membername" --filter=type:drop --filter=project:"yourprojectpath" --filter=membertype:member

    This way works...but it would be nice if there is a more easier way to get the information for dropped members/subprojects.

    Translate
    chariuc8-GravelAuthor
    8-Gravel
    Sep 25, 2014 2:51 PM UTC

    Hello Tobias,

    This is what I needed, the CLI command 🙂

    Thanks very much for it.

    You are right, it should be an easier way to get these information. But I don't think PTC will make this case a priority 😞

    Thank you again for your help.

    Cristina

    Translate