Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

runFromLinkList action can be used when it is required to perform operations in bulk. The below article explains using runFromLinkList in the combination of getLinkList, DeleteLink, and getLinkTypeList

...

  1. CLI action using runFromLinkList with getLinkList to get the list of all the linked issues on all the issues of a specific project.

    Code Block
    themeMidnight
    --action runFromLinkList --jql "Project = 'TESTER01'" --common "-a getLinkList --options inward --issue @fromIssue@"


  2. Additionally, regex parameter can be used to filter for the specific link types.
  3. CLI action using runFromLinkList with DeleteLinkList to delete the issue links of specific issues with "Blocks" issue link type of a project.

    Code Block
    themeMidnight
    --action runFromLinkList  --jql "project = RES"  --common "-a deleteLink  --issue "@fromIssue@"  --toIssue "@toIssue@"  --link "linktypeBlocks""


  4. CLI action using runFromLinkList with getLinkTypeList to get the list of all issue link types.

    Code Block
    themeMidnight
    --action runFromLinkList  --jql "project = RES" --common "-a getLinkTypeList"


Info

It is recommended to test this scenario in a non-production environment or run the action with the --simulate parameter, to verify the behavior before deploying it on a production environment.

...