Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-47681

JIRA REST API 'api/2/issue/createmeta' not returning all custom fields for a project

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 7.0.0
    • REST API

      I created 3 custom fields in a single project. (See attached image) Assigned 1 of the fields to the 'Create Issue' & 'Edit/View Issue' screens and the other 2 fields to just the 'Edit/View Issue' screen. When I call /api/2/issue/createmeta?projectKeys=TEST&expand=projects.issuetypes.fields only the custom field declared on the 'Create Issue Screen' (Field A) is returned. The other 2 custom fields (Field B & Field C) are not returned. This seems like a bug. All 3 custom fields are declared to the same project, just on different screens.

      I've attached the JSON returned from '/api/2/issue/createmeta' too.

      Version I'm using: v7.0.0-OD-08-001#70107-sha1:2554118

              Unassigned Unassigned
              43a410b1892e Brandon Oakley
              Votes:
              61 Vote for this issue
              Watchers:
              39 Start watching this issue

                Created:
                Updated: