Page MenuHomePhabricator

Allow passing a "project(s)" URL parameter to "Create Task" form
Closed, ResolvedPublic

Description

Bugzilla allows passing product/components/keywords URL parameters (like https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox ) to make user reporters automatically set the correct project when creating a task.

These URLs with parameters are put on feedback wikipages and other prominent places to tell people where to file technical issues.

Being able to have the project field pre-filled decreases work for triagers and developers as they often wouldn't have to manually add the correct project(s) to newly created tickets.

T3320 already implemented numerous parameters; unfortunately not a "project(s)" one. T1906 (finding a list of available projects) is also related here.

Event Timeline

aklapper raised the priority of this task from to Needs Triage.
aklapper updated the task description. (Show Details)
aklapper added a project: Maniphest.
aklapper added a subscriber: aklapper.

This does technically work but is pretty rough:

https://secure.phabricator.com/maniphest/task/create/?projects=Maniphest

Let me smooth the edges a bit.

epriestley edited this Maniphest Task.

Here's a new, more reasonable working example on the new code:

https://secure.phabricator.com/maniphest/task/create/?projects=maniphest,herald

(After T4021, you'll be able to select alternate short names for projects and the UI will make it easier to discover and select them, but for now they're generally Example Project -> example_project.)