hezyin commented on issue #3313:
URL: 
https://github.com/apache/incubator-devlake/issues/3313#issuecomment-1272469802

   @mintsweet I tried v0.14.0 image and confirmed I can reproduce the issue 
with the following steps:
   
   1. Create a Bitbucket data connection with
   
   ```
   curl --location --request POST 
'http://localhost:8080/plugins/bitbucket/connections' \
   --header 'Content-Type: application/json' \
   --data-raw '{
       "endpoint": "https://api.bitbucket.org/2.0/";,
       "username": "yinhezheng",
       "password": "xxxxxxxxxxxxx",
       "name": "Bitbucket Cloud"
   }'
   ```
   
   2. Create a new blueprint for Bitbucket
   
   ```
   curl --location --request POST 'http://localhost:8080/blueprints' \
   --header 'Content-Type: application/json' \
   --data-raw '{
       "enabled": true,
       "mode": "NORMAL",
       "name": "My Bitbucket Blueprint",
       "cronConfig": "",
       "isManual": true,
       "plan": [[]],
       "settings": {
           "connections": [
               {
                   "plugin": "bitbucket",
                   "connectionId": 1,
                   "scope": [
                       {
                           "entities": [
                               "CODE",
                               "TICKET",
                               "CODEREVIEW",
                               "CROSS"
                           ],
                           "options": {
                               "owner": "yinhezheng",
                               "repo": "incubator-devlake"
                           }
                       }
                   ]
               }
           ],
           "version": "1.0.0"
       }
   }'
   ```
   
   3. Then when you go to "settings" of the newly created blueprint, you'll 
encounter the application error.


-- 
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