Page MenuHomePhabricator

no obvious way to create task templates
Closed, DeclinedPublic

Description

when you create a task at the top it says create similar which adds a task template (see url below) however I can't see in the documentation how to do this without creating a task first. Is this possible or do you have to create a task, then delete/mark invalid just to create them?

https://phabricator.wikimedia.org/maniphest/task/create/?projects=Beta-Feature&title=Hovercards:&template=1005

Event Timeline

Jaredzimmerman-WMF raised the priority of this task from to Medium.
Jaredzimmerman-WMF updated the task description. (Show Details)
Jaredzimmerman-WMF changed Security from none to None.
Qgil lowered the priority of this task from Medium to Lowest.EditedNov 3 2014, 7:07 PM
Qgil subscribed.

According to https://www.mediawiki.org/wiki/Phabricator/Help#Passing_certain_values_in_the_task_creation_URL , the only parameter missing that a template provides are the users CCed. However, in your use case probably those users are already members of a team, who should be watching its activity if its so relevant as to be CCed by default.

Therefore, maybe this problem is in practice not a problem at all?

templates seem to be a way to wrap up a lot of the things into one, a fixed group of cc's, an owner, tags, etc. It seems like a useful feature, I'm unsure why its not not documented.

I keep thinking that this is not a relevant problem in real use of Phabricator. Any problem with declining this task?

I'm ok with using the workaround for now.

[me looks at HTML source code....] Yup, we can: Add these snippets (with a particular variable) to the end of the URL:

  • &priority=[100, 90, 80, 50, 25, 10]
  • &title=[TITLE]
  • &projects=[PROJECTS]

e.g. https://phabricator.wikimedia.org/maniphest/task/create/?projects=Beta-Feature&title=Hovercards:&priority=10

I think these 2 variables should also work, but I can't figure out how... (neither "@Qgil" nor "Qgil" nor "6" work)

  • &assigned_to=[NAME]
  • &cc=[NAME]
  • &assigned_to=[NAME]
  • &cc=[NAME]

I think these are PHID which you would have to pre-fetch from the api. not great but I believe that's the deal.

see also: https://www.mediawiki.org/wiki/Phabricator/Help#Creating_a_task

Is all of the known syntax now on the wiki?

  • &assigned_to=[NAME]
  • &cc=[NAME]

I think these are PHID which you would have to pre-fetch from the api. not great but I believe that's the deal.

see also: https://www.mediawiki.org/wiki/Phabricator/Help#Creating_a_task

Ah, from that wiki documentation, the "assigned_to=" is actually "assign=" (which works)
I'm still not sure how to add a CC though?

Is all of the known syntax now on the wiki?

I've added "priority=" to https://www.mediawiki.org/wiki/Phabricator/Help#Passing_certain_values_in_the_task_creation_URL and fixed the example URL.

Qgil claimed this task.

Thank you @Quiddity for improving the documentation. Resolving.