I'm trying to use the Jira CLI to create an issue, but we have a custom field "Variant" that can be a list of tags.
Unfortunately whatever I try, the CLI gives a VERY uninformative message:
Have you tried to fetch a sample work item using API "/rest/api/3/issue/{issueIdOrKey}" so that you see how the data looks like?
Kind regards,
Samuel
Yes, it was like this:
"customfield_10319": [
{
"value": "Common"
}
],
And actually that format worked fine with the Python API. Must be a bug in the Jira CLI. It doesn't appear to be open source so there's no way around it.
Probably better to avoid it until it and use the Python API (what I did) or REST directly until it is better tested, or at least has better error messages.
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.