Skip to end of banner
Go to start of banner

Examples

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 93 Next »

Action usage examples

Examples give users ideas on actual usage. We use automation to generate, test, and run these actions, so names and combinations may be odd or repetitive (wink). In many cases, other actions or environmental setup is required for the action to run, so you will need to adjust the action parameters and setup appropriate for your environment. 

Command line environments can be different, especially between Windows and non-Windows systems. Our Tips page talks about command line escaping differences and there are differences with respect to environment variable references ($ for non-Windows and %...% for Windows). These differences can impact examples, so recognize and adjust for your platform. In particular, all examples here are run with the standard bash shell on Linux.



addMembers

--action addMembers --team "zcli" --members "5935611a7a51ae026cabbdad, automation+test9@appfire.com:auto"
--action addMembers --team "zcli" --members "automation+test3@appfire.com"
--action addMembers --team "zcli" --members "automation+test4@appfire.com, automation+test5@appfire.com"

addTeam

--action addTeam --name "ZCLI" --displayName "ZCLI Team" --description "Team description" --url "https://bobswift.atlassian.net/wiki"

getBoardList

--action getBoardList --debug

getClientInfo

--action getClientInfo
--action getClientInfo --outputFormat 2

getMember

--action getMember --name "5935611a7a51ae026cabbdad"

getMemberList

--action getMemberList --team "zcli"

getTeam

--action getTeam --team "651ac60c4677eccb8bc7405e"

getTeamList

--action getTeamList --limit 60

getTokenInfo

--action getTokenInfo --outputFormat 2 --dateFormat "yyyy-MM-dd HH:mm"

removeMembers

--action removeMembers --team "zcli" --members "automation+test4@appfire.com, automation+test5@appfire.com"
--action removeMembers --team "zcli" --members "automation+test4@appfire.com, automation+test5@appfire.com" --continue

run

--action run -i "-a addBoard --name zclitrello --team 651ac60c4677eccb8bc7405e" -i "-a getReplacementVariableList --outputType text" -i "-a copyBoard --board @boardId@ --name \"@board@ COPY\" --description copy --team \"651ac60c4677eccb8bc7405e\" --visibility team" -i "-a getReplacementVariableList --outputType text" -i "-a getBoard --board @boardId@" -i "-a getReplacementVariableList --outputType text"

runFromTeamList

--action runFromTeamList --regex "ZCLI.*" --limit 10 --common "-a getTeam --team @teamId@"
  • No labels