Examples


Examples

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. 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. This 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 "654e2c9ade6e7240b6f56642"

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 654e2c9ade6e7240b6f56642" -i "-a getReplacementVariableList --outputType text" -i "-a copyBoard --board @boardId@ --name \"@board@ COPY\" --description copy --team \"654e2c9ade6e7240b6f56642\" --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@"

Unable to render {include} The included page could not be found.
Unable to render {include} The included page could not be found.