Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-22407

Command `hammer organization list --help` provides `organization_id` as a field which does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 6.12.0
    • Hammer
    • 0
    • False
    • Hide

      None

      Show
      None
    • False
    • CLOSED
    • 50
    • Endeavour
    • Low
    • No

      Description of problem:
      -----------------------
      Executing the following command:

      1. hammer organization list --help

      Outputs:

      ...
      Search / Order fields:
      description text
      id integer
      label string
      name string
      organization_id integer
      title string

      When attempting to use the field, `organization_id`, there is no output met.

      How reproducible:
      -----------------
      100%

      Steps to Reproduce:
      -------------------
      1. Login to Satellite Terminal
      2. Execute command, `hammer organization list --fields organization_id`
      3. Observe only newlines for output

      Actual results:
      ---------------
      [root@satellite ~]# hammer organization list --fields organization_id

      [root@satellite ~]#

      [root@satellite ~]# hammer organization list --fields organization_id=1

      [root@satellite ~]#

      Expected results:
      -----------------
      If this is the same as the, `id` field, it would be expected that the information queried would be returned as such.

            jira-bugzilla-migration RH Bugzilla Integration
            jira-bugzilla-migration RH Bugzilla Integration
            RH Bugzilla Integration RH Bugzilla Integration
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: