Jazz Register Log in
Jazz Forum Welcome to the Jazz Community Forum

Welcome to the Jazz Community Forum

Connect and collaborate with IBM Engineering experts and users

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.

1 vote



4 answers

Permanent link
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.

0 votes


Permanent link
Bumping :)
Any preferred way of instantiating a WI Template via REST API not using internal service?

Thanks!

Regards,

Jorge.

0 votes


Permanent link
 Jorge, did you find out a way to do this? I'm trying to do the same...

0 votes


Permanent link
Hi David,

the url in my second post worked, but it is still an internal API.

Regards,

Jorge.

0 votes

Your answer

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,985

Question asked: Mar 09 '11, 8:21 a.m.

Question was seen: 5,813 times

Last updated: Aug 05 '13, 3:28 a.m.

Confirmation Cancel Confirm