Unable to connect to Jira by basic authentication

XMLWordPrintable

    • Type: Bug
    • Resolution: Invalid
    • Priority: Medium
    • Component/s: None
    • None
    • Severity 2 - Major

      NOTE: This bug report is for JIRA Cloud. Using JIRA Server? See the corresponding bug report.

      I tried to connect to Jira by basic authentication as discussed here https://developer.atlassian.com/display/JIRADEV/JIRA+REST+API+Example+-+Basic+Authentication, but had 401 error.
      Here password and login are the same c27115@trbvm.com
      My curl

      curl D -u c27115@trbvm.com:c27115@trbvm.com -X GET -H "Content-Type: application/json" https://jira.atlassian.com/rest/api/2/project

      curl D -X GET -H "Authorization: Basic YzI3MTE1QHRyYnZtLmNvbTpjMjcxMTVAdHJidm0uY29t" -H "Content-Type: application/json" "https://jira.atlassian.com/rest/api/2/project"

      Please, help

              Assignee:
              Unassigned
              Reporter:
              c27115@trbvm.com
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: