The runFromLinkList action can be used when it is required to perform operations in bulk. The below article in this page explains using runFromLinkList in with the combination of getLinkList, DeleteLink, and getLinkTypeList actions to get some tasks done.
Instructions
CLI action using runFromLinkList with getLinkList to get Get the list of all linked issues of all issues of in a specific project.: Use CLI actions runFromLinkList with getLinkList
Code Block theme Midnight --action runFromLinkList --jql "Project = 'TESTER01'" --common "-a getLinkList --options inward --issue @fromIssue@"
Additionally, regex parameter can be used to filter for specific link types.CLI action using runFromLinkList with DeleteLinkList to delete
Delete the issue links with
"Blocks
" issue issue link type
of in a project
.: Use CLI actions runFromLinkList with DeleteLinkList
Code Block theme Midnight --action runFromLinkList --jql "project = RES" --common "-a deleteLink --issue "@fromIssue@" --toIssue "@toIssue@" --link "Blocks""
CLI action using runFromLinkList with getLinkTypeList to get
Get the list of all issue link types
.: Use CLI actions runFromLinkList with getLinkTypeList
Code Block theme Midnight --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. |
...