jinzhu2002 opened a new issue, #2550:
URL: https://github.com/apache/incubator-devlake/issues/2550

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   lake-v0110-devlake-1    | time="2022-07-20 01:19:53" level=error msg=" [task 
#24] [jira] retry #2 for http code 
error[404]:[{"errorMessages":["用户“[email protected]”不存在"],"errors":{}}]"
   lake-v0110-devlake-1    | time="2022-07-20 01:19:54" level=error msg=" [task 
#24] [jira] retry #2 for http code 
error[404]:[{"errorMessages":["用户“[email protected]”不存在"],"errors":{}}]"
   lake-v0110-devlake-1    | time="2022-07-20 01:19:56" level=error msg=" [task 
#24] [jira] retry #2 for http code 
error[404]:[{"errorMessages":["用户“[email protected]”不存在"],"errors":{}}]"
   
   execute task fail
   
   ### What you expected to happen
   
   collection jira server information success
   
   ### How to reproduce
   
   curl 
http://127.0.0.1:8080/rest/agile/1.0/board/85/issue?expand=changelog&jql=ORDER+BY+created+ASC&maxResults=100&startAt=0
   
   
"changelog":{"startAt":0,"maxResults":13,"total":13,"histories":[{"id":"148308","author":{"self":"http://127.0.0.1:8080/rest/api/2/user?username=aaa","name":"aaa","key":"aaa","emailAddress":"[email protected]","avatarUrls":{"48x48":"http://127.0.0.1:8080/secure/useravatar?ownerId=aaa&avatarId=11401","24x24":"http://127.0.0.1:8080/secure/useravatar?size=small&ownerId=aaa&avatarId=11401","16x16":"http://127.0.0.1::8080/secure/useravatar?size=xsmall&ownerId=aaa&avatarId=11401","32x32":"http://127.0.0.1:8080/secure/useravatar?size=medium&ownerId=aaa&avatarId=11401"},"displayName":"sss
   
   no accountID tag
   
   modify apiv2models/user.go
   
   func (u *User) getAccountId() string {
        if u == nil {
                return ""
        }
        if u.AccountId != "" {
                return u.AccountId
        }
         //add this code,run success,no test for jira cloud
        if (u.AccountId == "") && (u.Name != "") {
                return u.Name
        }
        return u.EmailAddress
   }
   
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   v0.11.0
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to