Versions Compared

Key

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

...

There are various authentication options used by Atlassian applications for remote access. The following are those available and supported by the CLI at least on the latest release levels.

ApplicationBasic AuthenticationSession AuthenticationOAuth and Related TokensDiscussion
Jira
Server

Parameters

  • user (user name)
  • password

Parameters

  • user (for login)
  • password (for login)
  • login (subsequent actions)

Default with automatic login

JCLI-1220

  • Let default support use automatic session authentication
  • Only special case, advanced scripting should bother with using login action and saved sessions 
Jira Cloud
, Confluence Cloud 

Parameters

  • user (user name or email)
  • password

Parameters

  • user (for login)
  • password (for login)
  • login (subsequent actions)

Default with automatic login

Atlassian Personal Access Tokens

Parameters

  • user
  • password (access token)
Recommendation
  • Recommend:
  • Use an access
token 
  • token. It can be used as a replacement for your password 
  • Atlassian has deprecated use of Basic and Session authentication and is likely to remove support later in 2018
 Confluence
  • UPM client also supports the same authentication methods
Jira Server

Parameters

  • user (user name)
  • password

Parameters

  • user (for login)
  • password (for login)
  • login (subsequent actions)

Default with automatic login

JCLI-1220

  • Let default support use automatic session authentication
  • Only special case, advanced scripting should bother with using login action and saved
sessions 
  • sessions
  • UPM client also supports the same authentication methods
Confluence
Cloud
Server

Parameters

  • user (user name
or email

Recommendation:

  • Use an access token 
  • Atlassian has deprecated use of Basic and Session authentication and is likely to remove support later in 2018Deprecation notice 
    • )
    • password

    Parameters

    • user (for login)
    • password (for login)
    • login (subsequent actions)

    Default with automatic login

    Atlassian Personal Access Tokens

    Parameters

    • user
    • password (access token)

    • Let default support use automatic session authentication
    • Only special case, advanced scripting should bother with using login action and saved sessions
    • UPM client also supports the same authentication methods


    Bamboo Server

    Parameters

    • user (user name)
    • password


    • UPM client also supports the same authentication methods
    Bitbucket Server

    Parameters

    • user (user name)
    • password

    Personal Access Tokens

    Parameters

    • token

    Supported

    • Bitbucket Server 5.5 and higher
    • CLI 7.8 and higher
    • UPM client also supports the same authentication methods
    Bitbucket Cloud

    Parameters

    • user (user name)
    • password



    Hipchat Server and Cloud

    Hipchat Access Tokens

    Parameters

    • token

    Trello

    Trello Token

    Parameters

    • token