ankitpokhrel / ankitpokhrel/jira-cli

proposal for custom fields on issues

Aperta
#593 3 commenti 1 reazione 0 assegnatari Vedi su GitHub
feature request
Lingua principale
Go
Stelle
6k
Fork
413
Merge medio
2g 3h
PR unite (30g)
1

Descrizione

### 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.
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.