I try to adding custom field to details panel of issue using api.
I try to use the api for create custom field : https://idatlassian.net/rest/api/3/field
with json body :
{
"searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:exacttextsearcher",
"name": "link issue,
"description": "link issue",
"type": "com.atlassian.jira.plugin.system.customfieldtypes:url"
}
I can see the custom field under setting-> issue->custom field.
for adding it to issue details panel I try to use this api:
{
{"issueTypeIds": [
"1001",
"1002",
"1014"
],
"name": "Default Configuration Scheme for link issue",
"description": "Default configuration scheme generated by Jira"
}
but get this error :
{
"errorMessages": [
"Only one global context is allowed per field."
],
"errors": {}
}
what's wrong?
what is the correct a way to add custom field to issue details panel.