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

   ### 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
   
   After upgrading DevLake from version 0.21 to 1.0 and using the Jira plugin 
to collect data, we observed that the start_date field in the sprint table is 
empty.
   
   ### What do you expect to happen
   
   The start_date field in the sprint table should be populated with the 
correct values retrieved from the Jira API.
   
   ### How to reproduce
   
   - Using DevLake version 1.0.
   - Set up the Jira plugin to collect data.
   - Use Jira Server version 7.12.3 as the data source.
   - Check the sprint table in the DevLake database and note that the 
start_date field is empty.
   - Verify the following tables for data consistency:
     - _tool_jira_sprints: The start_date field is also empty here.
     - _raw_jira_api_sprints: The API response includes the start_date field 
with valid values.
   
   ### Anything else
   
   Retrieve logic works in 0.21: 
https://github.com/apache/incubator-devlake/blob/1888cef6c51edcd40e5f5d70384d203b92917213/backend/plugins/jira/tasks/apiv2models/sprint.go#L49-L51
  
   But it not works in 1.0: 
https://github.com/apache/incubator-devlake/blob/8573fbf6551e73b6eee124650e31ec89e92336be/backend/plugins/jira/tasks/apiv2models/sprint.go#L50-L57
  
   
   Seems that some version of jira server returns StartDate instead of 
ActivatedDate.  
   Snapshot of raw data: 
   
![image](https://github.com/user-attachments/assets/ce1b6933-2f7c-4ff9-9f8a-a2ebfd54f463)
   
   
   ### Version
   
   release-v1.0
   
   ### Are you willing to submit PR?
   
   - [X] 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: dev-unsubscr...@devlake.apache.org.apache.org

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

Reply via email to