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 (62.3k●3●36●43)
| 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 { |