incubator-devlake icon indicating copy to clipboard operation
incubator-devlake copied to clipboard

[Bug][Teambition] in v0.19.0-beta2 verson,cant find teambition Connections

Open TinyNing opened this issue 11 months ago • 5 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

What happened

I deploy devlake with docker-compose in ubuntu22.04,and my version is v0.19.0-beta2 verson bu in localhosts:4000/connections , I can't find the teambition data connection image

What do you expect to happen

It can configure teambition Connections

How to reproduce

This is a problem that will definitely arise

Anything else

No response

Version

v0.19.0-beta2

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

TinyNing avatar Sep 27 '23 03:09 TinyNing

@ningjunwei Teambition support on the config-ui was removed. @mintsweet I think we can add it back and start to support more backend-only plugins

klesh avatar Sep 27 '23 03:09 klesh

@klesh Hi I try to config teambition with Advanced Mode ,but failed. there is my steps

  1. add Blueprint with Advanced Mode
  2. set the teambition config, come from https://devlake.apache.org/docs/v0.19/Configuration/AdvancedMode/#11-teambition, but i have dont know what connectionId is, because i cant config the teanbition with ui, so i write connectionId 1, and i change my projectid
  3. i create a project ,then i change the default blueprint name to Advanced Mode Blueprint ,but i cant collect

TinyNing avatar Oct 09 '23 08:10 TinyNing

@ningjunwei You can try to create a connection using api

curl --location 'http://{devlake-backend-host}:{port}/plugins/teambition/connections' \
--header 'Content-Type: application/json' \
--data '{
    "name": "teambition-test",
    "endpoint": "https://open.teambition.com/api/",
    "rateLimitPerHour": 20000,
    "appId": "",
    "secretKey": "",
    "tenantId": "",
    "tenantType": "organization"
}'

And you will get the connection id from response.

BTW, you can also start the pipeline using api

curl --location 'http://{devlake-backend-host}:{port}/pipelines' \
--header 'Content-Type: application/json' \
--data '{
    "name":"MY PIPELINE",
    "plan":[
        [
            {
                "plugin":"teambition",
                "options":{
                    "connectionId":1,
                    "projectId": "",
                    "pageSize": 10
                }
            }
        ]
    ]
}'

coldgust avatar Oct 09 '23 14:10 coldgust

This issue has been automatically marked as stale because it has been inactive for 60 days. It will be closed in next 7 days if no further activity occurs.

github-actions[bot] avatar Dec 09 '23 00:12 github-actions[bot]

This issue has been automatically marked as stale because it has been inactive for 60 days. It will be closed in next 7 days if no further activity occurs.

github-actions[bot] avatar Feb 10 '24 00:02 github-actions[bot]

This issue has been automatically marked as stale because it has been inactive for 60 days. It will be closed in next 7 days if no further activity occurs.

github-actions[bot] avatar Apr 13 '24 00:04 github-actions[bot]

This issue has been closed because it has been inactive for a long time. You can reopen it if you encounter the similar problem in the future.

github-actions[bot] avatar Apr 20 '24 00:04 github-actions[bot]