Skip to content

Cannot autenticate  #340

@cesardmoro

Description

@cesardmoro

Cannot autenticate from laravel 7 :

  CURL HTTP Request Failed: Status Code : 404, URL:https://****.atlassian.net/rest/api/3/issue/***-296/worklog
Error Message : {"errorMessages":["Issue does not exist or you do not have permission to see it."],"errors":{}}
JIRA_HOST="url"
JIRA_USER="*****"  // account id
JIRA_PASS="*****"  //api token 
# to enable session cookie authorization
COOKIE_AUTH_ENABLED=false
# COOKIE_FILE=storage/jira-cookie.txt
# if you are behind a proxy, add proxy settings
JIRA_REST_API_V3=true

JIRA_LOG_FILE="jira-rest-client.log"
JIRA_LOG_LEVEL="DEBUG"
JIRA_LOG_ENABLED=true

im also tried with array config:

try {
            $issueService = new IssueService(new ArrayConfiguration(
            [
                'jiraHost' => '*****',
                'jiraUser' => '*****',
                'jiraPassword' => '*****',
            ]
        ));

My user has permission to that ticket, i can see it and all. id and password are correct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions