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

   ### 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
   
   In the table pull_requests the column `is_draft` is not being populated 
correctly. All values are either false or null. 
   
   In the `_raw_github_api_pull_requests_reviews` table column 'data' there is 
the raw json data returned from the github api which includes the value of 
`"draft":true,`
   
   is_draft column in the _tool_github_pull_requests table for that PR is set 
to false. 
   
   
   
   
   ### What do you expect to happen
   
   Any pull requests that is marked as draft should have the value of is_draft 
in pull_requests table set to true.
   
   ### How to reproduce
   
   1. Create a Pull Request in a github repo that is being injested into the 
devlake. 
   2. Change the status of Pull Request to draft. 
   3. Have Devlake pull in and progress github data. 
   4. Verify raw data was added in the _raw_github_api_pull_requests_reviews 
table 
   5. Verify that is_draft is false in the _tool_github_pull_requests table 
   6. Verify that is_draft is false in the pull_requests table 
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   v1.01
   
   ### 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