Versions Compared

Key

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

...

Div
idProductTOC

On this page

Table of Contents
maxLevel12
minLevel2
excludeOn this page
typeflat
separatorpipe

Preparation

...

Table plus
border0
heading0
multiplefalse
enableHeadingAttributesfalse
columnAttributesstyle="border:0;width=5%;",style="border:0;width=65%;",style="border:0;width=45%;max-width=50% !important;"
idsteps_table
enableSortingfalse
enableHighlightingfalse

Include Page
info:css - pre formatted
info:css - pre formatted

Action: getClientInfo

This is a basic action available for all clients showing the CLI version and other client OS information. 

acli.sh -a getClientInfo Client name: cli, Client version: 9.0.0-SNAPSHOT, Java: OpenJDK 64-Bit Server VM 1.8.0_212, OS: Linux 4.9.125-linuxkitacli.sh bobswift -a getServerInfo --outputFormat 2 --outputType table Server info: ┌──────────────────────────────┬────────────────────────────────────────┐ │ Product │ Jira │ ├──────────────────────────────┼────────────────────────────────────────┤ │ Version │ 1001.0.0-SNAPSHOT │ ├──────────────────────────────┼────────────────────────────────────────┤ │ Base URL │ https://bobswift.atlassian.net │ ├──────────────────────────────┼────────────────────────────────────────┤ │ Title │ Jira for Bob Swift Atlassian Apps │ ├──────────────────────────────┼────────────────────────────────────────┤ │ Build │ 100108 │ ├──────────────────────────────┼────────────────────────────────────────┤ │ Build date │ 8/27/19 6:17 PM │ ├──────────────────────────────┼────────────────────────────────────────┤ │ Current time │ │ ├──────────────────────────────┼────────────────────────────────────────┤ │ License information │ Not available for this Cloud instance. │ ├──────────────────────────────┼────────────────────────────────────────┤ │ Client │ jira │ ├──────────────────────────────┼────────────────────────────────────────┤ │ User │ anonymous │ ├──────────────────────────────┼────────────────────────────────────────┤ │ Response time (milliseconds) │ 1147 │ └──────────────────────────────┴────────────────────────────────────────┘

Image RemovedImage Added

Start ACLI Container

In this step, you will install the more recent eap level of the ACLI docker container and be taken directly into the container's shell . It will be ready to run actionswhere you can run CLI commands.

Code Block
languagetext
themeDJango
docker run -ti bobswiftapps/acli:eap /bin/bash
Code Block
languagetext
themeDJango


Tip

bobswift site referenced below in action examples, is a built-in configuration. That means examples can be run right away. Just copy/paste the command entry into the Docker bash shell.



Image Added

Action: getClientInfo

Include Page
Action Examples - getClientInfo
Action Examples - getClientInfo



Image Modified

Action: getServerInfo

This action contacts a server and retrieves base information about the server. To start, we contact a pre-configured bobswift Cloud instance using anonymous access. 

Code Block
languagetext
themeDJango
acli.sh bobswift -a getServerInfo

Jira version: 1001.0.0-SNAPSHOT, build: 100108, time: 8/27/19 6:17 PM, time zone: , description: Jira for Bob Swift Atlassian Apps, url: https://bobswift.atlassian.net
Code Block
languagetext
themeDJango
Include Page
Action Examples - Jira getServerInfo
Action Examples - Jira getServerInfo

Tip

For Linux and Mac, to maximize the display of tables for the full terminal width, run: export COLUMNS=$COLUMNS

Include Page
Action Examples - Jira getServerInfo with output format 2
Action Examples - Jira getServerInfo with output format 2

Image Added

Action: getProjectList

Include Page
Action Examples - Jira getProjectList help
Action Examples - Jira getProjectList help

Include Page
Action Examples - Jira getProjectList
Action Examples - Jira getProjectList


Image Added

Action: getProject

Include Page
Action Examples - Jira getProject
Action Examples - Jira getProject

Image Added

Action: getSpace

Include Page
Action Examples - Confluence getSpace
Action Examples - Confluence getSpace

Image Added

Action: getPageList

Include Page
Action Examples - Confluence getPageList
Action Examples - Confluence getPageList