ankitpokhrel / ankitpokhrel/jira-cli

proposal for custom fields on issues

Abierto
#593 3 comentarios 1 reacción 0 asignados Ver en GitHub
feature request
Lenguaje dominante
Go
Estrellas
6k
Forks
413
Merge medio
2 d 3 h
PR fusionados (30 d)
1

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.