Hi
I have added User Property ‘DevLead’ for myself,
and added Custom Field of type “User Property Field” , with Default Value defined as ‘reporter:DevLead’
Now I can see it in issue view (where reporter is myself) but I cannot edit this field in issue (it never appears on edit screen)
But when I try get it by rest I have got null value
/rest/api/2/issue/DEMO-2
returns null for the field.
expand=renderedFields does not help
/rest/api/2/issue/DEMO-2?fields=customfield_10643&expand=renderedFields
{"expand": "renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations",
"id": "10001",
"self": "https://timereports.atlassian.net/rest/api/2/issue/10001",
"key": "DEMO-2",
"renderedFields": {
"customfield_10643": null
},
"fields": {
"customfield_10643": null
}}
if I try to get default value by /createmeta
/rest/api/2/issue/createmeta?expand=projects.issuetypes.fields&projectKeys=DEMO
"customfield_10643": {
"required": false,
"schema": {
"type": "string",
"custom": "com.atlassian.jira.toolkit:userproperty",
"customId": 10643
},
"name": "Dev Lead",
"key": "customfield_10643",
"hasDefaultValue": true,
"operations": [
"set"
]}
How could I get it by rest properly?
Thank you in advance.