apache / incubator-devlake

Apache DevLake is an open-source dev data platform to ingest, analyze, and visualize the fragmented data from DevOps tools, extracting insights for engineering excellence, developer experience, and community growth.
https://devlake.apache.org/
Apache License 2.0
2.57k stars 515 forks source link

feat: add issue_trace plugin #7544

Closed narrowizard closed 4 months ago

narrowizard commented 4 months ago

7542

⚠️ Pre Checklist

Please complete ALL items in this checklist, and remove before submitting

Summary

What does this PR do? Implement #7542

Does this close any open issues?

Closes #7542

Screenshots

Other Information

narrowizard commented 4 months ago

End to end test

  1. Prepare a new devlake environment.
  2. check migration (check new tables) image image
  3. Add a Jira connection via jira plugin api. image
  4. Create a pipeline to collect jira data and trigger new issue_trace plugin
    {
    "name": "sync jira data and calc issue_trace data",
    "plan": [
        [
            {
                "plugin": "jira",
                "options": {
                    "boardId": 68,
                    "connectionId": 1,
                    "TimeAfter": "2024-02-01"
                }
            }
        ],
        [
            {
                "plugin": "issue_trace",
                "options": {
                    "plugin": "jira",
                    "connectionId": 1,
                    "boardId": 68
                }
            }
        ]
    ]
    }
  5. waiting for pipeline and check data in new tables image image