Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.

...

Bloc de code
http://192.168.1.42:8410/rest/kepler/1.0/file-attach/download/aW1hZ2UwMDItMTU3OTUwNDI3NjA4OGN1c3RvbWZpZWxkXzExMDAxLnBuZw==/customfield_11001


Delete file:

Info

The deletion can be also tuned on the field configuration as you can choose to delete or archive the file

Base URL

The base URL for deletion is as follow :

Bloc de code
 <Base-URL>/rest/kepler/1.0/file-attach/delete?customfield={1}&issueKey={2}&filename={3}

Where :

{1}: The id of the custom field That you want to update

{2}: The key of the issue for the deletion context

{3}: The filename to delete, it will be useful only the multiple type.

Usage example :


Bloc de code
curl --location --request DELETE 'localhost:2990/jira/rest/kepler/1.0/file-attach/delete?filename=search%20box-1644144093610customfield_10000_admin.jpg&customfieldId=customfield_10000&issueKey=DEV-1'