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

   ### 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 deleted a data scope (a Jira board = 'jira:JiraBoard:1:92') on the 
project's Jira connection page, but the data still existed in the `project 
mapping` table.
   
   
![image](https://github.com/apache/incubator-devlake/assets/14050754/958aab1e-e6b2-43e2-81b7-26dff3f3fed2)
   
   Still in table.project_mapping
   
![image](https://github.com/apache/incubator-devlake/assets/14050754/03eea60c-7797-4223-90bd-b3e8d75e6c16)
   
   
   ### What do you expect to happen
   
   Removing a data scope from a project will also remove the relationship 
between the data scope and the project in table.project_mapping. If we don't do 
this, this project will still use this data scope's data to measure DORA or 
other metrics.
   
   ### How to reproduce
   
   1. Install v0.18.0-alpha3
   2. Create a Jira connection and a DevLake project that references this 
connection
   3. Collect two Jira boards
   4. Remove a Jira board in the DevLake project, see result
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   v0.18.0-alpha3
   
   ### 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