klesh opened a new pull request, #4408:
URL: https://github.com/apache/incubator-devlake/pull/4408

   ### Summary
   
   In order to support time filter by `UpdatedDate`, the following actions were 
taken:
   
   1. added `UpdatedDatedAfter` to `collector_state` as well as jira 
`TaskOptions` and `TaskData`
   2. `ApiCollectorStateManager.IsIncremental` was modified to take 
`UpdatedDateAfter` as the First Factor to consider, or fallback to 
`CreatedDateAfter` if `UpdatedDateAfter` was not specified. In other words, 
`UpdatedDateAfter` would override the `CreatedDateAfter` option
   3. JIRA `issue_collector` was modified to follow the principle accordingly
   
   ### Does this close any open issues?
   Closes #4403
   
   ### Screenshots
   
   The initial collection, should respect the `updatedDateAfter` option
   
![1st-collection](https://user-images.githubusercontent.com/61080/218467985-7b8d286d-2365-40a3-adf9-6eb584fa4091.png)
   
   The second collection, should collect no record at all, the `_raw_table` 
should stay unchanged after collection
   
![2nd-diff-collection-is-working](https://user-images.githubusercontent.com/61080/218467998-8cdadc57-d1bf-4bce-a4c9-c993167ecbbd.png)
   
   Whenever an older issue got updated, it should be collected.
   
![3th-newly-updated-issues-got-collected](https://user-images.githubusercontent.com/61080/218468003-a0a2e9e6-2a0a-40ff-93a8-790598fb86ff.png)
   
   


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