What are the parameters to be passed for change.changeStatus method in SDK?

Hi,

I’m was able to set myself as Change Analyst of an ECO through SDK, However while changing status from Pending to CCB, Change Analyst field is reset to default CA user. Can anyone please help on how to preserve Change Analyst value while changing status to CCB?

Here, I’m setting Change analyst to “user00” in block #1, however after block #2 executes, Change analyst gets changed to  “Louie”

Setting change analyst with below block: (Block #1)

IAgileList chgAnalystList = chgAnalyst.getAvailableValues();
chgAnalystList.setSelection(new Object[] { “Test User (user00)” });

chgAnalyst.setValue(chgAnalystList);

Using below line to change status: (Block #2)

change.changeStatus(nextStatus, false, “”, false, true, null, approverList,
observerList, null, true);

Thanks a lot in advance.

— Magesh

Agile User Asked on April 1, 2020 in Agile PLM (v9).
Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.