Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Export projectArea ProcessTemplate using API

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 com.ibm.team.repository.common.UUID.valueOf(UUID.java:108)
    at com.ibm.team.process.internal.service.ProcessService.exportProcessDefinitionWithParticipants(ProcessService.java:969)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
    at java.lang.reflect.Method.invoke(Method.java:620)

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.

0 votes


Be the first one to answer this question!

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,937

Question asked: Jan 17 '17, 7:57 a.m.

Question was seen: 1,196 times

Last updated: Jan 17 '17, 7:57 a.m.

Confirmation Cancel Confirm