It's all about the answers!

Ask a question

Export projectArea ProcessTemplate using API

ast java (4512048) | asked Jan 17 '17, 7:57 a.m.

Hi Team,

I am trying to export projectArea template using below Java API.
IContent content =
        ((IProcessInternalClientService) this.teamRepo.getClientLibrary(IProcessInternalClientService.class))
            .createProcessDefinitionExportZip(templateId, new SubProgressMonitor(subProgressMonitor, 200));

But its giving below error
java.lang.IllegalArgumentException: invalid UUID
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(

If in place of template , if i pass the processDefination instance, then its working fine.

Another issue i am facing is : i am not able to export updated project area template. that means, for example if i add some of the new attributes to the project area and then try to export. new contents are not exported.

Be the first one to answer this question!

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.