Page MenuHomePhabricator

Custom field in Maniphest not supporting 'select' the way it was documented
Closed, ResolvedPublic

Description

Custom field in Maniphest not supporting 'select' the way it was documented in "src/docs/user/configuration/custom_fields.diviner" under commit " https://secure.phabricator.com/rP77fa7c8939ce5afc0a4399ab7cbbab3a20187d30" .

The options specified by me as per the suggested format are not being listed in the dropdownlist.
I will appreciate your help.

Event Timeline

sameep.agarwal raised the priority of this task from to Low.
sameep.agarwal updated the task description. (Show Details)

What are you putting in the custom field?

Also, it's helpful to know what problem you are experiencing is, that is what is the expected result and what result you encountered.

chad raised the priority of this task from Low to Needs Triage.Jan 17 2015, 3:14 PM

(I have not been able to reproduce any unexpected problems using our documented examples)

chad renamed this task from Custom field in Maniphest not supporting 'select' the way it was documented. to Custom field in Maniphest not supporting 'select' the way it was documented.Jan 17 2015, 5:16 PM
chad added a project: Custom Fields.

Chad, I am giving this option to my team with dropdownlist consisting of {"Task", "Bug", "Incident"} in the field "IssueType" of "type":"select".

I have followed @btrahan sample code in #T5806 to configure the dropdown but the control is not rendering on the form of 'Create Task'. Will upload the screenshot tomorrow morning (UTC 04:00 AM). Also, as per Doc src/docs/user/configuration/custom_fields.diviner, I have followed the updated [code] :
"mycompany:company-jobs": {

  "name": "Job Role",
  "type: "select",
  "options": {
    "mycompany:engineer": "Engineer",
    "mycompany:nonengineer": "Other"
  }
},
chad claimed this task.

The commit you are referencing isn't our actual documentation, it's just an old (and incorrect) revision that has been fixed that contains our raw documentation files.

You can use the examples here: https://secure.phabricator.com/book/phabricator/article/custom_fields/

config_manifest_customfields.jpg (732×1 px, 108 KB)

manifest_select_options.jpg (726×1 px, 113 KB)

Dear Chad,

I had also followed the documentation article : https://secure.phabricator.com/book/phabricator/article/custom_fields/ but the problem remains unchanged. Hence, would like to open this ticket for resolution. As promised, the two screenshots have been uploaded which will help you conclude the issue. The other custom fields are all rendering, so i do not think that there is any problem with my JSON code. Your guidance will be appreciated.

Best regards,
Sam

I see the word option in your select statement, and the example states options, try that?

Thank you Chad, this is working. Really appreciate your quick response.

I have one more query, my company wants to feature as a user on your wikipedia page: Phabricator.

Our list of company users is here -- https://secure.phabricator.com/w/usage/companies/

Wikipedia is... well, wikipedia, so you'll need to do the wikipedia thing if you want to end up in an article. No clue how that works and we don't support using wikipedia here.