jira-cli
jira-cli copied to clipboard
Unable to use custom issue fields with arrays of users
Describe the bug
Custom fields with arrays of users seem to be problematic
I have a config with
- name: Reviewers
key: customfield_12300
schema:
datatype: array
items: user
Yet any input given for --custom reviewers=something always fails
jira issue create \
--config config.yml \
--project "TEST" \
--type "Test ticket" \
--summary "Testing ticket creation" \
--template "./description_template" \
--assignee "${ASSIGNEE}" \
--custom "reviewers"="Martin K" \
--debug --no-input
Error:
- customfield_12300: expected Object
Please provide following details
- JiraCLI Version:
$ jira version
(Version="v1.3.0", GitCommit="", CommitDate="", GoVersion="go1.19", Compiler="gc", Platform="linux/amd64")
- Are you using Jira cloud or on-premise jira server?
SERVER INFO
-----------
Version: 9.4.2
Build Number: 940002
Deployment Type: Server
Default Locale:
- What operating system are you using? Also mention version.
Linux Mint 20
- What terminal are you using? Also mention version.
GNOME Terminal v3.28.1
@aes256Slater This is a Multi-user picker custom field which is not supported at the moment as mentioned in the docs. I will see if I can add this quickly.
Hi @ankitpokhrel. Any plans to address this in the near-ish future?
Also, does this cover the single-user picker field, or is there a separate issue for that one?