Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Rest Api :Didn't Receive field key in create meta call

S.Jerome Eronimos
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 5, 2018

In the rest api documentation it is shown each field will have a "key"   information  as shown below. 

"issuetype": {
              "required": true,
              "name": "Issue Type",
              "key": "issuetype",
              "hasDefaultValue": false,
              "operations": [
                "set"
              ]
            }

but in my response I didn't receive the "key" information as shown below.

"issuetype": {
"schema": {
"system": "issuetype",
"type": "issuetype"
},
"hasDefaultValue": false,
"allowedValues": [
{
"avatarId": 10310,
"name": "Improvement",
"self": "https://jira.xxxxxxxxxx.com/rest/api/2/issuetype/10100",
"description": "An improvement or enhancement to an existing feature or task.",
"id": "10100",
"iconUrl": "https://jira.xxxxxxxxxxxx.com/secure/viewavatar?size=xsmall&avatarId=10310&avatarType=issuetype",
"subtask": false
}
],
"operations": [

],
"name": "Issue Type",
"required": true
}

1 answer

0 votes
Moga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 16, 2018

Hi Jerome,

It's not clear on how to reproduce/test this, please provide the following so that we test it out:

  1. What is the REST API call that you are performing?
  2. What is your JIRA version?

Cheers,
Mogavenasan

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events