List of work items and their parents via SCM
Hi,
I create a list of work items via scm compare between two snapshots: $ scm compare snapshot 3032 snapshot 2771 -I w Work Item 111: Allow defining permissions for project and team areas in the Web UI Work Item 222: Set up some sort of Jazz Foundation build Work Item 333: TCT031b: Jazz Translations - more variables The point is, how can I get parent IDs of the listed work items in the command line with SCM? For example, how can I get the parent id of the work item 111 via SCM? |
Accepted answer
Shashikant Padur (4.3k●2●7)
| answered Jun 07 '16, 11:07 p.m.
JAZZ DEVELOPER edited Jun 07 '16, 11:08 p.m.
I believe you want to find the parent workitem of the listed workitem(s). Scm command line only deals with scm artifacts and although it lists the workitems associated with a change set it does not have any commands to perform operation on a workitem. You have to write a script and use the Workitem api's to get this information.
Ralph Schoon selected this answer as the correct answer
Comments
Reed Pny
commented Jun 08 '16, 7:37 a.m.
Thank you for this information. Do you know where can I find a tutorial how to use the Workitem api with a simple example?
Ralph Schoon
commented Jun 08 '16, 8:36 a.m.
| edited Jun 08 '16, 8:37 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
For extending and automation using the Java APi start here:
|
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.