It's all about the answers!

Ask a question

Setting the description field via API during Work Item Init


Steve Cotugno (41159) | asked Oct 26 '09, 2:46 p.m.
Hello,

I'm looking for an example on how to set the description field from the RTC API during work item initialization. For my customer engagement, I need to set the Work Item description field with the appropriate URL string based on the type of work item that is created.

Can someone point me to an example?

Thanks,
Steve

5 answers



permanent link
Patrick Streule (4.9k21) | answered Oct 27 '09, 6:40 a.m.
JAZZ DEVELOPER
I'm looking for an example on how to set the description field from
the RTC API during work item initialization. For my customer
engagement, I need to set the Work Item description field with the
appropriate URL string based on the type of work item that is
created.

Can someone point me to an example?

There is currently no support for custom default values. But the upcoming
2.0.0.2 release will have support for your scenario.

--
Regards,
Patrick
Jazz Work Item Team

permanent link
rajendra prasad (2615) | answered Nov 12 '11, 2:43 a.m.
I'm looking for an example on how to set the description field from
the RTC API during work item initialization. For my customer
engagement, I need to set the Work Item description field with the
appropriate URL string based on the type of work item that is
created.

Can someone point me to an example?

There is currently no support for custom default values. But the upcoming
2.0.0.2 release will have support for your scenario.

--
Regards,
Patrick
Jazz Work Item Team

Is this supported now. If yes, How do we set values for description field?

permanent link
sam detweiler (12.5k6184201) | answered Nov 16 '11, 4:12 p.m.
in what kind of code? workitem client, plugin, REST , OSLC?

Sam

permanent link
radhika bandari (10675) | answered Nov 23 '11, 6:51 a.m.
Hi Sam,

I need to develop a plug-in, in which I need to change Workitem attribute "Project Area" to new value.
IWorkItemClient related code is not working because client (jars)packages are not deployed in server. Actually I need to save a workitem in a different
specified ProjectArea.

Please share your suggessions / piece of code to change the project area value.



Thanks & Regards,
Radhika Bandari

permanent link
sam detweiler (12.5k6184201) | answered Nov 23 '11, 8:03 a.m.
ok,,, what kind of plugin?

I posted a working Save OperationAdvisor here
https://jazz.net/forums/viewtopic.php?t=19872

Once u get the workitem, changing the fields is pretty easy.

Sam

Your answer


Register or to post your answer.