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 |
One answer
Ralph Schoon (63.5k●3●36●46)
| answered Mar 29 '16, 4:42 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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 { |
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.