It's all about the answers!

Ask a question

Is it possible to update work item Approval via plain Java API or OSLC?


0
1
teguh fihaiman (1511212) | asked Apr 23 '14, 7:20 a.m.
i need support from your development Team, which can confirm capability of extending RTC via plain Java API or OSLC.

i want to approve / or reject Workitem without open Workitem
so when user get Email notification. user can reply by add "Approve" or "Reject" in body of the email.
we will build custom application that read Email and check Workitem number ,sender name and body of email.
Custom Application will integrate to RTC to Update Approval WI.

Is it possible to update work item Approval via plain Java API or OSLC?

Accepted answer


permanent link
sam detweiler (12.5k6195201) | answered Apr 23 '14, 7:34 a.m.
absolutely!..

I don't know about OSLC, but certainly with plain java.
behind the interface class IApproval, there is a concrete class Approval,
which has methods for update.  just cast the IApproval object (from workitem.getApprovals()) to Approval

you will have to use the working copy, and save the workitem
teguh fihaiman selected this answer as the correct answer

Your answer


Register or to post 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.