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

Open new work items from ANT

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.

0 votes



4 answers

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

0 votes


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

0 votes


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

0 votes


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

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

Question asked: Nov 13 '09, 9:08 a.m.

Question was seen: 5,129 times

Last updated: Nov 13 '09, 9:08 a.m.

Confirmation Cancel Confirm