GitHub Issue ⇨ Draft

Retrieve and concatenate GitHub Issue contents and comments into a single draft.


See: The Full Documentation

GitHubImage-Draft Source Render

This shortcut is yet another near-direct publication of one I made specifically for my own use cases. It uses GitHub's REST API to gather an Issue's content - of the original post as well as all of the comments - into a single markdown document, formatted very specifically for my own use. Out of the box, it's designed to store said document in Drafts, but even the most novice Shortcuts users should find pointing it to any other destination with markdown/plain text support very simple. (If you need help, please don't hesitate to contact me via any of the sources at the bottom of this page.)


Upon installation, you'll be asked to provide:

  1. A GitHub Personal Access Token (create one directly with this link.) This is absolutely required.
  2. Any additional tags you'd like attached to the resulting draft beyond the Issue's labels (which are attached as tags by default.) These are optional.

The shortcut is configured by default to receive Issue URLs from the Share Sheet and/or the system clipboard. Theoretically, it should remain unaffected if one should accidentally pass an Issue Comment URL (ex: instead of the Issue URL (ex:,) as the Get Item from List actions which parse out the specifying information seek by index from the root.


With Shortcuts variables wrapped in }{:

# "{title}" - {owner}/{repo}
Updated `{updated}`
Created `{created}`

- [**Issue**]({link})
- @[{username}]({username})
- [Repository]({owner}/{repo})
- [Maintainer/Org]({owner})







Below is actual demonstrative shortcut output from this Issue as input. You might also inspect the color-encoded markdown via this Gist and/or see how the result looks when rendered as a web page using my custom Drafts HTML template.

# "Screen Time for Family Members" - FifiTheBulldog/ios-settings-urls
Updated `03302021-144840`
Created `03302021-085525`

- [**Issue**](
- @[bcmitri](
- [Repository](
- [Maintainer/Org](


Is there any way to get to the "Screen Time → See All Activity" screen for family members?  I see them listed on the screen below, but haven't been able to guess a path value that works.
What’s the exact path to get to a family member’s See All Activity screen manually? I know how to get to See All Activity for my own device, but I don’t have an iCloud family that I can test with.

That's the part I'm struggling with.  I had assumed / hoped that the See All Activity part would be easy once I could get to the Family Member view.

I meant, what’s the series of taps to get there? Ignoring the search for a URL for a moment.

Oh...  It’s just the name of my family member from the main Screen Time view.



What if you URL encode the family member’s name exactly as it appears on screen there, and then use that as the path?

To encode the name as a url, I assume I just replace the space with a %20.  Is that right?  If so, I've tried that, and it just brings me to the main Screen Time view.

Sounds about right, assuming there’s no other characters that would need to be percent encoded.

Are there any other identifiers that could possibly be used as paths? I’m at a loss.

Really, there's just the screen that you see above.  Clicking my family member's name brings me to the main Screen Time view for that family member.

No worries if you don't know the answer.  I just thought I'd ask.

Hmm, all right. I’ll leave this issue open and hope that it gets an answer someday, since this would be a particularly useful one.


And... for the sake of thoroughness... Here's how the same example looks in the Drafts app:

iPhone 12 Pro Max Example Frame

iPad Pro Example Frame



Latest Release Notes

1.0 - Oct. 6, 2022, 6:50 p.m.

Initial release.