Hello all,
I have a customfield with a customfieldtype that i want to add to a story if its created.
This is the field:
"schema":{"type":"team","custom":"com.atlassian.jira.plugin.system.customfieldtypes:atlassian-team","customId":12600,"configuration":{"com.atlassian.jira.plugin.system.customfieldtypes:atlassian-team":true}},"name":"Team","key":"customfield_12600","autoCompleteUrl":"https://gedam.atlassian.net/gateway/api/v1/recommendations","hasDefaultValue":false,"operations":["set"],"fieldId":"customfield_12600"},{"required":false,
More info:
<customfield id="customfield_12600" key="com.atlassian.jira.plugin.system.customfieldtypes:atlassian-team">
<customfieldname>Team</customfieldname>
<customfieldvalues>
<customfieldvalue id="f8771ef1-0a37-46ae-b72a-4f2586b482e2-64">SOB-05 Beheer van applicaties</customfieldvalue>
</customfieldvalues>
</customfield>
In advanced field by automation i have this:
{
"fields": {
"customfield_12600": { "value": "f8771ef1-0a37-46ae-b72a-4f2586b482e2-64" }
}
}
and tried this:
{ "fields": { "customfield_12600": { "id": "f8771ef1-0a37-46ae-b72a-4f2586b482e2-64" } } }
But the field is never filled automaticly and i get this error:
SBRT-1229 (Team id 'JsonData{data={value=f8771ef1-0a37-46ae-b72a-4f2586b482e2-64}}' is not valid. (customfield_12600))
Can someone help me with this?
Hi @beheer test
What type of field is this?
Is there a reason you cannot use the base "Edit Issue" options, rather than using Advanced?
Ste
Its a customfiekd created by my company so its not possible to use otter field
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What type of custom field?
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ste Wright :
As far i can see:
"schema":{"type":"team","custom":"com.atlassian.jira.plugin.system.customfieldtypes:atlassian-team","customId":12600,"configuration":
customfieldtypes:atlassian-team
If i select the field in a issue its kinda like a dropdown
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @beheer test
Is that the standard Atlassian Team field?
If yes, have you tried this JSON:
{
"fields": {
"customfield_10001":"5p4894e7-1ef5-6wp1-8erq-7r3hgq43ej9q"
}
}
In this instance...
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.