I would like to make sure that the projectTypeKey is always returned in the project field when an issue response is received (either using JQL or issue endpoints). The test server that I use shows that I should be able to check fields -> project -> projectTypeKey for this property, however, this is not returned to me in another server.
Can someone tell me if there is a particular setting that is preventing this property from being returned and whether the setting is configurable?
Here is the JSON for the issue that I receive from my test server which contains the projectTypeKey value.
{
"expand": "operations,versionedRepresentations,editmeta,customfield_10500.properties,changelog,customfield_10600.requestTypePractice,customfield_10400.properties,renderedFields",
"id": "40662",
"self": "https://mydomain/rest/api/3/issue/40662",
"key": "TP-200",
"fields": {
...
"project": {
"self": "https://mydomain/rest/api/3/project/10000",
"id": "10000",
"key": "TP",
"name": "Test Project",
"projectTypeKey": "software",
"simplified": false,
"projectCategory": {
"self": "https://mydomain/rest/api/3/projectCategory/10000",
"id": "10000",
"description": "Sample Projects",
"name": "Samples"
}
}
...
}
}