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

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              43a410b1892e Brandon Oakley
              Votes:
              56 Vote for this issue
              Watchers:
              36 Start watching this issue

              Dates

                Created:
                Updated: