how to change the state of the approver in approval's tab using java api?
Akshata Kulkarni (37●3●20)
| asked Feb 05 '16, 8:18 a.m.
edited Feb 05 '16, 8:24 a.m. by Ralph Schoon (63.7k●3●36●48)
Hi,
I want to change the state of approver from "pending" to "approved" using java client libraries. But iam getting an exception as :"com.ibm.team.repository.common.internal.ImmutablePropertyException" Any suggestions on how it can be done? Thanks in advance! |
One answer
Ralph Schoon (63.7k●3●36●48)
| answered Feb 05 '16, 8:38 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Feb 05 '16, 8:40 a.m.
Use
com.ibm.team.workitem.common.model.IApproval.setStateIdentifier(com.ibm.team.workitem.common.model.WorkItemApprovals.APPROVED_STATE.getIdentifier()) |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.