Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-64583

add support for JIRA Server Personal Access Tokens


    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • jira-plugin

      Is your feature request related to a problem? Please describe.
      In JIRA Server 8.14 and Confluence Server 7.9 atlassian has (finally) added tokens as a way to authenticate to the REST API. Much better then people using their company wide ldap password for this (and storing it in places).

      Describe the solution you'd like
      I think we should support this new authentication method as JIRA Datacenter will also use it and stay beyond 2024. And basic authentication with passwords will be deprecated by atlassian.

      Describe alternatives you've considered
      Add support for https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html

      Additional context
      Please note these personal access tokens are slightly different from the JIRA Cloud api tokens (thank you atlassian).

      Cloud: curl -H "Authorization: Basic <base64(<username>:<yourToken>>)" https://\{jiraBaseUrl}/rest/api/

      Server: curl -H "Authorization: Bearer <yourToken>" https://\{jiraBaseUrl}/rest/api/

            Unassigned Unassigned
            valentijnscholten Valentijn Scholten
            5 Vote for this issue
            12 Start watching this issue