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

Creating a workitem through code

Hi All,

I am trying to create workitems through code. For logging I somehow need to detect which are all the mandatory fields required to create a work item.

For E.g Say to create a task, mandatory fields are summary and filed against. How can I detect these mandatory fields through java api ?

Any hints or suggestions ?

Thanks in advance for any help :)

Regards,
Arshad

0 votes



One answer

Permanent link
See https://rsjazz.wordpress.com/2015/08/07/a-custom-condition-to-make-attributes-required-or-read-only-by-role-version-2/ method
boolean isRequiredRecursive(IWorkItem workItem,
		IConfiguration configuration, IWorkItemCommon workItemCommon,
		IProgressMonitor monitor) throws TeamRepositoryException {

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
× 1,221

Question asked: Mar 28 '16, 7:40 a.m.

Question was seen: 2,385 times

Last updated: Mar 29 '16, 4:42 a.m.

Confirmation Cancel Confirm