It's all about the answers!

Ask a question

Open new work items from ANT


Jose Miguel Ordax Cassa (2.4k4126100) | asked Nov 13 '09, 9:08 a.m.
Which is the easiest way to open a new work item from an ANT script?
Should I develop my own ANT Task using RTC APIs? Or is there anything
already built I am missing?

Thanks,

Chemi.

4 answers



permanent link
Nick Edgar (6.5k711) | answered Nov 17 '09, 2:54 p.m.
JAZZ DEVELOPER
There isn't currently any Ant task for creating work items. See the existing requests:
83846: Command line interface for work items
86140: Command line and Ant Task facilities for creating/updating workitems

In the interim, you could try using the OSL/C API via curl/perl -- see the following articles:
http://jazz.net/library/article/194
http://jazz.net/library/article/352

permanent link
Jose Miguel Ordax Cassa (2.4k4126100) | answered Nov 17 '09, 11:53 p.m.
On 17-Nov-09 9:07 PM, nedgar wrote:
There isn't currently any Ant task for creating work items. See the
existing requests:
83846:
Command line interface for work items
86140:
Command line and Ant Task facilities for creating/updating
workitems

In the interim, you could try using the OSL/C API via curl/perl -- see
the following articles:
http://jazz.net/library/article/194
http://jazz.net/library/article/352


Thanks Nick.
What about using Java API
(https://jazz.net/wiki/bin/view/Main/ProgrammaticWorkItemCreation)
instead of REST API? Any inconvenience in front of the OSLC one?

permanent link
Nick Edgar (6.5k711) | answered Nov 18 '09, 6:12 a.m.
JAZZ DEVELOPER
Yes, using the programmatic Java client library API would work and would give you more control.

Can you provide more details about what you're trying to do? Might be better to comment in the Ant task enhancement request rather than here.

permanent link
Jose Miguel Ordax Cassa (2.4k4126100) | answered Nov 18 '09, 6:38 a.m.
On 18-Nov-09 12:23 PM, nedgar wrote:
Yes, using the programmatic Java client library API would work and
would give you more control.

Can you provide more details about what you're trying to do? Might be
better to comment in the Ant task enhancement request rather than
here.


I will update the enhancement request. Thanks for the info.

Your answer


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.