ankitpokhrel / ankitpokhrel/jira-cli

proposal for custom fields on issues

Offen
#593 3 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
feature request
Vorherrschende Sprache
Go
Sterne
6k
Forks
413
Ø Merge
2 T. 3 Std.
Gemergte PRs (30 T.)
1

Beschreibung

### Discussed in https://github.com/ankitpokhrel/jira-cli/discussions/346

Originally posted by **ankitpokhrel** April 20, 2022
Jira supports a wide variety of datatypes when creating a custom field. Out of all [formats mentioned in the Jira doc](https://developer.atlassian.com/cloud/jira/service-desk/rest/intro/#fieldformats), the tool right now doesn't support `Cascading select custom field`, `Single-user picker custom field` and `Multi-user picker custom field`. Support for these missing types will be added based on the request and the usecase.

----

For fields with unsupported/complex datatypes, would it be possible to allow the object representation to be passed in ?

```yml
- name: Assigned PO
key: customfield_10811
schema:
datatype: user
```
e.g.
```console
jira issue edit EXMP-1234 --custom assigned-po='{"name": "$(jira me)"}'

Error:
- customfield_10811: data was not an object

jira: Received unexpected response '400 '.
Please check the parameters you supplied and try again.
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.