You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by GitBox <gi...@apache.org> on 2022/09/30 01:26:56 UTC

[GitHub] [incubator-devlake] narrowizard opened a new issue, #3277: [Bug][Jira] test connection api return success with a pair of any username and a valid token

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

   ### 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
   
   I am using test connection api to check jira integration info before synchronizing.It always return success if the token is valid, even if the username is not exists.  
   But the jira tasks will failed with the wrong username.
   
   ### What you expected to happen
   
   Test connection api should keep consistent behaviour with sync tasks.  
   I mean, if test connection api is passed, sync tasks should not failed for authentication reason.
   
   ### How to reproduce
   
   Call test connection api with right endpoint, password but wrong username. 
   
   ### Anything else
   
   This issue occurs both in jira server and jira cloud version.
   
   ### Version
   
   v0.12.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: commits-unsubscribe@devlake.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] narrowizard commented on issue #3277: [Bug][Jira] test connection api return success with a pair of any username and a valid token

Posted by GitBox <gi...@apache.org>.
narrowizard commented on issue #3277:
URL: https://github.com/apache/incubator-devlake/issues/3277#issuecomment-1264541259

   please cherry-pick the fix to v0.12, thanks @mindlesscloud 


-- 
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: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] mappjzc commented on issue #3277: [Bug][Jira] test connection api return success with a pair of any username and a valid token

Posted by GitBox <gi...@apache.org>.
mappjzc commented on issue #3277:
URL: https://github.com/apache/incubator-devlake/issues/3277#issuecomment-1263031566

   related #2400


-- 
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: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] mindlesscloud closed issue #3277: [Bug][Jira] test connection api return success with a pair of any username and a valid token

Posted by GitBox <gi...@apache.org>.
mindlesscloud closed issue #3277: [Bug][Jira] test connection api return success with a pair of any username and a valid token
URL: https://github.com/apache/incubator-devlake/issues/3277


-- 
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: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] mappjzc commented on issue #3277: [Bug][Jira] test connection api return success with a pair of any username and a valid token

Posted by GitBox <gi...@apache.org>.
mappjzc commented on issue #3277:
URL: https://github.com/apache/incubator-devlake/issues/3277#issuecomment-1263039749

   this issue not only happend on v0.12.0
   this happend on all branch if it merged #2748 


-- 
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: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] mappjzc commented on issue #3277: [Bug][Jira] test connection api return success with a pair of any username and a valid token

Posted by GitBox <gi...@apache.org>.
mappjzc commented on issue #3277:
URL: https://github.com/apache/incubator-devlake/issues/3277#issuecomment-1263024490

   thanks for your issue.
   this problem should be fix by commit 86e2987878743a0b2ba9c1eec9c256325fe73421 of pr #2404
   it seems recurrence because of Get("api/3/users/search", nil, nil) changed to apiClient.Get("api/2/status", nil, nil)


-- 
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: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org