How to write a script in Jira for multi select field in Rest API
I'm not sure what you're asking. Could you expand on what you're trying to do and what your problem is?
You talk of a script in Jira, but mention the API. Do you need the JQL? Give me some more info please
Hi @Warren ,
We are trying to map a confluence form to JIRA using REST endpoint so that it creates a ticket in JIRA everytime a user submits a form. I was trying to write groovy script for mapping a multi-select field. But it is not executing successfully. Can you please advice with a script for mapping multi select fields from confluence form to jira fields?
Thanks,
Padma Kothakota.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What would be useful is if you could supply the JSON that you're trying to use, as well as the error message that is returned.
Could I also confirm that the problem that you're having is when you're trying to submit the REST API call to Jira?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've created a Select List (multiple choices) customfield in Jira and put some data into that field for a specific ticket. When I GET the data for it, this is the format of that field
"customfield_14580": [
{
"value": "Option C",
},
{
"value": "Option B",
}
so this is probably the format that you should be using when trying to create a ticket
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We are trying to map a confluence form to JIRA using REST endpoint so that it creates a ticket in JIRA everytime a user submits a form. I was trying to write groovy script for mapping a multi-select field. But it is not executing successfully. Can you please advice with a script for mapping multi select fields from confluence form to jira fields?
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.