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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

viewcps should return Change package details which are associated with CR, Defact and Task

ghole
1-Visitor

viewcps should return Change package details which are associated with CR, Defact and Task

Hi,

I have written a code that is returning all Change Packages those are assigned to me and in 'Open' state. But my requirement is code should return all Change Packages those are assigned to me,in  'Open' state and issue type should be Change Request, Defect and/or Task only.

Please help me with this.

Code block:

public Command getCommand() {

        Command cmd = new Command();

        cmd.setApp(Command.SI);

        cmd.setCommandName("viewcps");

        cmd.addOption(new Option("filter", "user:" + username));

        cmd.addOption(new Option("filter", "state:" + "Open"));

        return cmd;

    }

Generated command:

si viewcps --filter=user:<userid> --filter=state:Open --

Kindly help.

Thanks,

Gajanan

0 REPLIES 0
Announcements


Top Tags