You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by GitBox <gi...@apache.org> on 2023/01/19 10:09:55 UTC

[GitHub] [arrow] raulcd opened a new issue, #33782: [Release] Vote email number of issues is querying JIRA and producing a wrong number

raulcd opened a new issue, #33782:
URL: https://github.com/apache/arrow/issues/33782

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   When generating the vote email for RC 0 on 11.0.0 I've realised that the vote email generated contains the following:
   ```
   This is a release consisting of 274 resolved JIRA issues[1].
   ```
   This number is extracted from:
   ```
   jira_url="https://issues.apache.org/jira"
     jql="project%20%3D%20ARROW%20AND%20status%20in%20%28Resolved%2C%20Closed%29%20AND%20fixVersion%20%3D%20${version}"
     n_resolved_issues=$(curl "${jira_url}/rest/api/2/search/?jql=${jql}" | jq ".total")
   ```
   This is wrong now, we should extract this from the GitHub milestone:
   https://github.com/apache/arrow/milestone/1?closed=1
   I've updated this manually for the current email vote but we should fix it on the `dev/release/02-source.sh` script.
   
   ### Component(s)
   
   Release


-- 
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: issues-unsubscribe@arrow.apache.org.apache.org

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


[GitHub] [arrow] kou closed issue #33782: [Release] Vote email number of issues is querying JIRA and producing a wrong number

Posted by "kou (via GitHub)" <gi...@apache.org>.
kou closed issue #33782: [Release] Vote email number of issues is querying JIRA and producing a wrong number
URL: https://github.com/apache/arrow/issues/33782


-- 
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: issues-unsubscribe@arrow.apache.org

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


[GitHub] [arrow] rok commented on issue #33782: [Release] Vote email number of issues is querying JIRA and producing a wrong number

Posted by GitBox <gi...@apache.org>.
rok commented on issue #33782:
URL: https://github.com/apache/arrow/issues/33782#issuecomment-1396971891

   GraphQL API is another option:
   ```
   curl -H 'Content-Type: application/json' -H "Authorization: bearer GITHUB_TOKEN" -X POST -d '{"query": "query {search(query: \"repo:apache/arrow is:issue is:closed milestone:11.0.0\", type: ISSUE) {issueCount}}"}' https://api.github.com/graphql | jq ".data.search.issueCount"
   ```


-- 
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: github-unsubscribe@arrow.apache.org

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