Get/Add/Remove Child Requirement

DATA CENTER AND SERVER | CLOUD

Get/Add/Remove Child Requirement



Contents





Add child requirements to an issue then Get the child requirements


The following script will add child requirements to the parent issue then get all the child requirements information of the parent issue.

In this example, the script will add  the following child requirements to SC-190:

  • SC-193

  • SC-194

  • SC-195

It will then get all the child requirements of SC-190 and print the returned information.







Remove a child requirement from an issue


The following script will remove a child requirement from an issue in the project tree of a given project. In this example, the script will remove child relation of 'SC-193' to 'SC-190'.