get FilePath of changes from Server-side WorkItem Save pre.
![]()
We have a procedure that requires a certain checklist be attached to reviews of certain types of files. I would like to check the full path of the changes that are associated to a work item going out for review. My thought is to create a workItem save precondition to make the check when a work item is resolved and creates an approval.
I can get the changeSets that are linked to the work item just fine, but I can't figure out how to get a configuration so I can locate the ancestors of the FileItems. Is this possible to do from a server-side work item save precondition? If this is not possible, would it work to hook into the delivery operation to make the check and set some sort of flag (custom attrib?) on the work item that I could then check for on the work item save operation? Thanks! |
3 answers
![]()
Hi,
So, does it possible to make a server side plugin and get the file list out of a workitem? Is it possible to use IWorkspaceHandle or stream handle with server side plugin? If yes, could you please copy your code ? It's very important for me. Thanks! |
![]()
note that there are TWO toolkits.. (three if u are trying to d an external java app, Java Standalone toolkit)
SDK - server side general methods Source Code Mgmt toolkit - for interfacing the the RTC SCM. you would have to combine functions from both.. |
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.