It's all about the answers!

Ask a question

Creating a Work Item Type Programmatically


Henry Armburg Jennings (13076) | asked Dec 28 '11, 10:33 a.m.
Is there a way to create a work item type programmatically? I am familiar with creating attributes and work items but can't find any relevant sections of the java API or even any forum posts that address this directly.

Any help would be appreciated, even if it's just a straight no! Thanks,

Henry

6 answers



permanent link
sam detweiler (12.5k6185201) | answered Dec 29 '11, 8:32 a.m.
I don't think there is an externalized api to most of the admin functions.

Sam

permanent link
Yehiel Glass (25528786) | answered Jan 01 '12, 4:39 a.m.
Look at this link:

https://jazz.net/wiki/bin/view/Main/ProgrammaticWorkItemCreation

Regards,
Yehiel

permanent link
Henry Armburg Jennings (13076) | answered Jan 04 '12, 7:22 a.m.
Hi yehiel, I have looked at that link already. Correct me if I'm wrong but it does not tell you how to create new work item types, just work items of a type that already exists.

permanent link
sam detweiler (12.5k6185201) | answered Jan 04 '12, 11:01 a.m.
as I said before, I don't think this is externalized..

I think you would do this so infrequently that using the Admin UI should be enough.

If there is a reason u need this function, open an enhancement request workitem

Sam

permanent link
Henry Armburg Jennings (13076) | answered Jan 04 '12, 11:03 a.m.
Hi Sam,

No I read your post and thank you for it, I was just correcting Yehiel.

Henry

permanent link
Yehiel Glass (25528786) | answered Jan 08 '12, 3:39 a.m.
Hi Sam,

No I read your post and thank you for it, I was just correcting Yehiel.

Henry


You right.
It's a way to create WI and not WI type. I just didn't understand your question..
Sorry,
Yehiel

Your answer


Register or to post your answer.