REST for instantiating WI template
![]()
Hello,
I am trying to execute the creation of a WI template using REST service. The rationale of the aproach is to add an option in a RTC dashboard to allow the user the creation of WIs of a template in a click. I was trying to use the following REST call: https://<server>/<app>/service/com.ibm.team.workitem.common.internal.rest.IQueryRestService/instantiateWorkItemTemplate With following parameters: projectAreaItemId AAA templateId BBB But it returns a syntax error. Am I missing any important parameters? Thanks in advance. Regards, Jorge. |
4 answers
![]()
OK, to anyone that might help ...
something was wrong in my script to insert the parameters in the request, but making a complete url call works: https://<server>/<app>/service/com.ibm.team.workitem.common.internal.rest.IQueryRestService/instantiateWorkItemTemplate?projectAreaItemId=AAA&templateId=BBB I guess being an "internal" REST is not supported and can dissapear in a future release, right? Is there a preferred way for performing this template execution programatically? Regards, Jorge. |
![]()
Bumping :)
Any preferred way of instantiating a WI Template via REST API not using internal service? Thanks! Regards, Jorge. |
![]()
Jorge, did you find out a way to do this? I'm trying to do the same...
|
![]()
Hi David,
the url in my second post worked, but it is still an internal API. Regards, Jorge. |
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.