Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Teams
, (opens new window)

Jira Command Line Interface (CLI)
Results will update as you type.
  • Administrator's Guide
  • User's Guide
    • Examples
    • How to
    • Advanced Topics
    • Reference
      • Actions
      • Parameters
      • Action Categories
      • Action Types
  • Release notes
    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    Reference
    Updated Dec 03, 2024

    Reference

    Explained

    Below you will find a complete list of the Actions and Parameters available in the ACLI for this client.

    Actions

    These are the keywords that tell the CLI what action to take. The listed actions correspond to everything you can do via the screens on the app when you point, click, and type text into fields.

    You see a pattern to the beginning or prefix that is an action verb such as: add, copy, export, get, modify, move, remove, run, store, update, and more depending on the app.

    The ending or suffix to the action name is the noun or object of the verb such as attachment, comment, label, permission, user, and more depending on the app.

    For example, the action addComment adds a comment to an item in the app.

    Each app has its own features and set of actions,  in addition to the actions shared with other apps.

    Parameters

    Parameters tell the CLI the specific details needed to perform an action.  Some actions work without any additional details, but most require one or more parameters and accept additional optional parameters to perform the task.

    The CLI requires at least one special parameter named action that tells what action to perform, without the action parameter, CLI displays help with some example actions. Parameters do not have prefixes like actions and are often specific to the app for the action. 

    For example, the action getServerInfo requires details about the app or server from where the information is retrieved. To obtain the required information, the server parameter is used.

    The getServerInfo action also accepts optional parameters such as outputFormat, dateFormat, file, append, and encoding.

    Example

    An action and its parameters put together unlock the power to get things done with your apps.

    The example shows how to retrieve information from an example Jira Cloud application with anonymous access in a multi-line format:

    acli --action getServerInfo --server https://examplegear.atlassian.net --outputFormat 2

    Action output:

    Server info
    
    Product . . . . . . . . . . . : Jira
    Hosting . . . . . . . . . . . : cloud
    Version . . . . . . . . . . . : 1001.0.0-SNAPSHOT
    Base URL  . . . . . . . . . . : https://examplegear.atlassian.net
    Title . . . . . . . . . . . . : Appfire Example Gear Jira
    Build . . . . . . . . . . . . : 100221
    Build date  . . . . . . . . . : 2023/04/10 8:02
    License information . . . . . : Not available. Reason: Administrator access is required to get license information.
    Client  . . . . . . . . . . . : jira
    User  . . . . . . . . . . . . : anonymous
    Response time (milliseconds)  : 638

    On this page

    • 1 Explained
    • 2 Related pages
    • 3 Actions
    • 4 Parameters
    • 5 Parameter Tips 

    Related pages


    Actions

    Parameters

    Parameter Tips 

    {"type":"doc","content":[{"type":"extension","attrs":{"layout":"default","extensionType":"com.atlassian.confluence.macro.core","extensionKey":"include","parameters":{"macroParams":{"":{"value":"Using common parameters and special characters in ACLI"},"_parentId":{"value":"60563113"},"_referencedContentId":{"value":"2010218692"}},"macroMetadata":{"macroId":{"value":"ca68e5f57947faeacae68165da6252144564078ea9114803ae43f323db859f9e"},"schemaVersion":{"value":"1"},"title":"Include Page"}},"localId":"898300ba-4b57-4941-82e0-acaaf2e7e922"}}],"version":1}

     

    Need support? Create a request with our support team.

    Copyright © 2005 - 2025 Appfire | All rights reserved.

    {"serverDuration": 13, "requestCorrelationId": "d973b188b9b7466aa2e2a7c48a398850"}