Closed mocobeta closed 2 years ago
I just did a quick-check with grep command.
Estimated # of issues that contain urls to LUCENE issues.
$ cat github-import-data/*.json | jq '.issue.body' | grep -E ' https?://issues\.apache\.org/jira/.+/LUCENE-[0-9]+ ' | wc -l
15
Estimated # of comments that contain urls to LUCENE issues.
$ cat github-import-data/*.json | jq '.comments[].body' | grep -E ' https?://issues\.apache\.org/jira/.+/LUCENE-[0-9]+ ' | wc -l
55
The number is relatively small as expected since Jira users usually use just short keys like LUCENE-XXXX
to refer to another issue.
Spin-off from #129.
There could be multiple URLs that point to one issue. I suppose this regex would work?