It's all about the answers!

Ask a question

Create a work item automatically on error or on code review comment


Pancha Gyaneswari Yelika (45811) | asked Oct 22 '12, 8:41 a.m.
Is there a possible way to trigger to create a work Item automatically.

On completion of build (failure or success), automatically create a work Item associated to it.

One answer



permanent link
Ralph Schoon (63.6k33646) | answered Oct 22 '12, 9:44 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Pancha,

you can use the Plain Java Client Libraries to do that. See https://jazz.net/wiki/bin/view/Main/ProgrammaticWorkItemCreation on how that would work. I am trying to blog about things I have found here. Some of the posts might be useful. You can call a plain java client library application just as any other java application. There is another post that explains how to create a custom ANT tasks for something like this, which would be another way to call it.

There are requests for a command line tool to do that. For example Enhancement 86140, you might want to add your support. So far there is nothing out of the box.


Comments
Pancha Gyaneswari Yelika commented Oct 23 '12, 6:19 a.m.

Thanks Ralph

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.