3 ms·
Any chance you could share the script and a screenshot?
by cs02rm0 7y ago
Any chance you could share the script and a screenshot?
- volfied 7y agoSorry, it is very specifically written for the many repos I have and I didn't put in the effort to make it a general thing. It's a whole bunch of v3 api calls in Node.js, though. api/v3/issues?filter=created - to get all issues that I created filter(p => p.pull_request) - to get all the PRs out of those fetch on all the p.pull_request.url s out of those to get details use p.mergeable_state, p.title, p.html_url to populate dropdown items And for PRs waiting my review, i used the search api: api/v3/search/issues?q=is:open+is:pr+review-requested:<username>+archived:false then map them to dropdown items which show repo name, author, and title of PR reviewDetails.forEach(r => { result.push({ text: `:exclamation: ${r.base.repo.full_name} - ${r.user.login}: ${r.title}`, href: r.html_url }) })