Skip to end of banner
Go to start of banner

Authentication

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

Version 1 Next »

Overview

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

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:

  • Use an access token 
  • Atlassian has deprecated use of Basic and Session authentication and is likely to remove support later in 2018
Confluence Server

Parameters

  • user (user name)
  • password

Parameters

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

Default with automatic login


  • Let default support use automatic session authentication
  • Only special case, advanced scripting should bother with using login action and saved sessions 
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:

  • Use an access token 
  • Atlassian has deprecated use of Basic and Session authentication and is likely to remove support later in 2018
Bamboo Server

Parameters

  • user (user name)
  • password



Bitbucket Server

Parameters

  • user (user name)
  • password

Personal Access Tokens

Parameters

  • token

Supported

  • Bitbucket Server 5.5 and higher
  • CLI 7.8 and higher


Bitbucket Cloud

Parameters

  • user (user name)
  • password



Hipchat Server and Cloud

Hipchat Access Tokens

Parameters

  • token

Trello

Trello Token

Parameters

  • token

  • No labels