|
| 1 | +--- |
| 2 | +title: Create work items via URL |
| 3 | +description: Use a URL to trigger the creation of a new work item in Plane and pre-fill fields using query parameters. |
| 4 | +--- |
| 5 | + |
| 6 | +# Create work items via URL |
| 7 | + |
| 8 | +Plane provides a special URL that triggers the creation of a new work item in any browser. You can add query parameters to this URL to pre-fill work item fields, making it easy to create work items from external tools, bookmarks, or shared links. |
| 9 | + |
| 10 | +## Base URL |
| 11 | + |
| 12 | +**For Plane Cloud** |
| 13 | +`https://app.plane.so/work-items/new`. |
| 14 | + |
| 15 | +For self-hosted instances, replace `app.plane.so` with your domain, e.g., `https://plane.yourdomain.com/work-items/new`. |
| 16 | + |
| 17 | +When you visit this URL, Plane authenticates you, redirects to your last active workspace, and opens the work item creation modal. Any query parameters you include will pre-fill the corresponding fields. |
| 18 | + |
| 19 | +## Build a URL with parameters |
| 20 | + |
| 21 | +Start with the base URL, add `?`, then append parameters in `name=value` format. Separate multiple parameters with `&`. |
| 22 | +```bash |
| 23 | +https://app.plane.so/work-items/new?title=Fix+bug&priority=high&assignee=me |
| 24 | +``` |
| 25 | + |
| 26 | +A few formatting rules: |
| 27 | + |
| 28 | +- Use `+` or `%20` for spaces in text values. |
| 29 | +- URL-encode special characters in descriptions. |
| 30 | +- Separate multiple values (like assignees) with commas. |
| 31 | + |
| 32 | +## Query parameters reference |
| 33 | + |
| 34 | +### workspace |
| 35 | + |
| 36 | +Overrides the default behavior of redirecting to your last active workspace. Pass a workspace slug to land in a specific workspace instead. |
| 37 | + |
| 38 | +``` |
| 39 | +https://app.plane.so/work-items/new?workspace=plane |
| 40 | +``` |
| 41 | + |
| 42 | +### title |
| 43 | + |
| 44 | +Sets the work item title. Replace spaces with `+` or `%20`. |
| 45 | + |
| 46 | +``` |
| 47 | +https://app.plane.so/work-items/new?title=Fix+login+bug |
| 48 | +``` |
| 49 | + |
| 50 | +``` |
| 51 | +https://app.plane.so/work-items/new?title=Implement%20new%20feature |
| 52 | +``` |
| 53 | + |
| 54 | +### description |
| 55 | + |
| 56 | +Sets the work item description. For anything beyond simple text, URL-encode the content to handle special characters and line breaks. |
| 57 | + |
| 58 | +``` |
| 59 | +https://app.plane.so/work-items/new?description=This+is+a+bug+description |
| 60 | +``` |
| 61 | + |
| 62 | +Combined with a title: |
| 63 | + |
| 64 | +``` |
| 65 | +https://app.plane.so/work-items/new?title=Bug+Report&description=Steps+to+reproduce |
| 66 | +``` |
| 67 | + |
| 68 | +### project |
| 69 | + |
| 70 | +Assigns the work item to a project. You can use either the project identifier (the short code like `WEB` or `MOBILE`) or the project's UUID. |
| 71 | + |
| 72 | +``` |
| 73 | +https://app.plane.so/work-items/new?project=WEB |
| 74 | +``` |
| 75 | + |
| 76 | +``` |
| 77 | +https://app.plane.so/work-items/new?project=MOBILE&title=New+feature |
| 78 | +``` |
| 79 | + |
| 80 | +### priority |
| 81 | + |
| 82 | +Sets the priority level. Accepts `urgent`, `high`, `medium`, `low`, or `none`. Values are case-insensitive, so `High`, `HIGH`, and `high` all work. |
| 83 | + |
| 84 | +``` |
| 85 | +https://app.plane.so/work-items/new?priority=urgent |
| 86 | +``` |
| 87 | + |
| 88 | +``` |
| 89 | +https://app.plane.so/work-items/new?priority=high&title=Critical+fix |
| 90 | +``` |
| 91 | + |
| 92 | +``` |
| 93 | +https://app.plane.so/work-items/new?priority=Medium |
| 94 | +``` |
| 95 | + |
| 96 | +### assignee |
| 97 | + |
| 98 | +Assigns one or more team members to the work item. You can specify assignees by UUID, display name, or use `me` to assign to whoever opens the URL. For names with spaces, use `+` or `%20`. To assign multiple people, separate values with commas. |
| 99 | + |
| 100 | +Assign to yourself: |
| 101 | + |
| 102 | +``` |
| 103 | +https://app.plane.so/work-items/new?assignee=me |
| 104 | +``` |
| 105 | + |
| 106 | +Assign by display name: |
| 107 | + |
| 108 | +``` |
| 109 | +https://app.plane.so/work-items/new?assignee=john |
| 110 | +``` |
| 111 | + |
| 112 | +Assign by full name: |
| 113 | + |
| 114 | +``` |
| 115 | +https://app.plane.so/work-items/new?assignee=Erin+Baker |
| 116 | +``` |
| 117 | + |
| 118 | +Assign multiple people: |
| 119 | + |
| 120 | +``` |
| 121 | +https://app.plane.so/work-items/new?assignee=me,john,jane |
| 122 | +``` |
| 123 | + |
| 124 | +### start_date |
| 125 | + |
| 126 | +Sets the start date. Use `YYYY-MM-DD` or ISO 8601 format for consistency, though any format that JavaScript's `Date` can parse will work. |
| 127 | + |
| 128 | +``` |
| 129 | +https://app.plane.so/work-items/new?start_date=2024-03-15 |
| 130 | +``` |
| 131 | + |
| 132 | +### due_date |
| 133 | + |
| 134 | +Sets the due date (also called target date). Same format rules as `start_date`. |
| 135 | + |
| 136 | +``` |
| 137 | +https://app.plane.so/work-items/new?due_date=2024-03-30 |
| 138 | +``` |
| 139 | + |
| 140 | +## Examples |
| 141 | + |
| 142 | +**Bug report with title and description:** |
| 143 | + |
| 144 | +``` |
| 145 | +https://app.plane.so/work-items/new?title=Login+button+not+working&description=Users+cannot+click+the+login+button+on+mobile |
| 146 | +``` |
| 147 | + |
| 148 | +**High-priority task assigned to yourself:** |
| 149 | + |
| 150 | +``` |
| 151 | +https://app.plane.so/work-items/new?project=WEB&priority=high&assignee=me&title=Fix+authentication+bug |
| 152 | +``` |
| 153 | + |
| 154 | +**Fully populated work item:** |
| 155 | + |
| 156 | +``` |
| 157 | +https://app.plane.so/work-items/new?title=Implement+dark+mode&description=Add+dark+mode+support+to+the+dashboard&project=FRONTEND&priority=medium&assignee=me,john&start_date=2024-03-15&due_date=2024-03-30 |
| 158 | +``` |
| 159 | + |
| 160 | +## Things to know |
| 161 | + |
| 162 | +- **Authentication required** |
| 163 | +Users must be logged in. If they're not, Plane redirects them to sign in first, then continues to the work item modal. |
| 164 | +- **Invalid values are ignored** |
| 165 | +If a project identifier or display name doesn't match an existing record, Plane skips that parameter and processes the rest. |
| 166 | +- **Case doesn't matter** |
| 167 | +Values like priority and project identifier are case-insensitive. |
| 168 | +- **Users can still edit** |
| 169 | +Pre-filled values aren't locked. After the modal opens, users can change any field before creating the work item. |
0 commit comments