Page MenuHomePhabricator

No way to search or add CCs in Phabricator with URL parameters
Closed, DeclinedPublic

Description

https://www.mediawiki.org/wiki/Phabricator/Help#Passing_certain_values_in_the_task_creation_URL lists no ways to add a CC list or to search for tickets with a link using URL parameters.

Event Timeline

Technical13 raised the priority of this task from to Needs Triage.
Technical13 updated the task description. (Show Details)
Technical13 added a project: Phabricator.
Technical13 subscribed.

You can add a CC list by using an existing bug as template. Searching with URL parameters is possible, but not documented, it seems: https://phabricator.wikimedia.org/search/?script=1&query=%3Cquery%3E

And as a workaround, you can pass template=CC:+@user+@user+@user

which will then be added in the description, and then automatically to the CC (should, at least)

About URLs CCing individuals, it is probably better to CC projects instead. The individuals actually CCed when doing this will be those subscribed to the project. I haven't tested whether this would work, though.

About URLs for specific searches, why using URL parameters when you can create a more precise Maniphest advanced saved search and offer its unique URL?

Qgil triaged this task as Low priority.Jan 12 2015, 7:46 AM
In T86458#969809, @Qgil wrote:

About URLs for specific searches, why using URL parameters when you can create a more precise Maniphest advanced saved search and offer its unique URL?

For being able to set up generic search keys on IRC. Search for tickets in project with foo text or search for tickets by author or...

chasemp claimed this task.
chasemp subscribed.

I appreciate the intent of this task but it seems to have gone dormant and we don't have the resources to muster it. It may be worth bringing upstream if someone is interested.

Technical13 lowered the priority of this task from Low to Lowest.

What is stalled about this?

My free time to be able to complete this task I suppose and the fact that no one else has volunteered to do it yet.

What is stalled about this?

My free time to be able to complete this task I suppose

If you want to work on this, assign it to yourself. Doing so now.

and the fact that no one else has volunteered to do it yet.

"No one has volunteered" is not "stalled" otherwise 95% of open tasks would be stalled. "No one has volunteered" is expressed by no assignee set.

Aklapper changed the task status from Stalled to Open.Mar 25 2015, 11:46 AM
Bugreporter subscribed.

This user (Technical 13) is retired from Wikimedia. (feel free to reclaim it)

Editing is fixed, consistent, and documented (e.g. Edit TaskConfigure FormUsing HTTP Parameters) in upstream HEAD.

Search should be consistent but does not automatically generate documentation yet. You can "View Source", find the input name, and then swap that for a GET parameter in most/all cases.

Aklapper moved this task from Need discussion to Misc on the Phabricator board.

We will not work on this (hence declining), and if you have convincing reasons why you must have to use a URL parameter for this search (instead of entering parameters in the web interface or the API, feel free to bring them up in upstream.

Closing as declined.
Task could be reopened when describing an actual root problem (for which "allow searching or adding CCs with URL parameters" might be one possible solution).

For completeness, this is supported today, there's just no autogenerated documentation in the search case.

Here's how to prefill this particular constraint in search, today:

https://phabricator.wikimedia.org/maniphest/?subscriber=epriestley

There's no search documentation today. You can find field names by checking the PHP source or the HTML source, or guessing (they're mostly easily guessable, and accept multiple variant aliases).

Here's how to prefill this particular constraint in edit, today:

https://phabricator.wikimedia.org/maniphest/task/edit/form/1/?subscriber=epriestley

Here's the edit documentation (accessible via Create TaskConfigure FormUsing HTTP Parameters):

https://phabricator.wikimedia.org/maniphest/task/edit/parameters/