...
The base URL to call the file Attach File Manager For Jira is:
Bloc de code |
---|
<Base <Base-URL>/rest/kepler/1.0/file-attach/download/Base64(${customfield_Value})/${customfield_id}/${issue_id}?forceUTF8=${forceUTF8} |
Required Parameters
...
Parameters | Explanation |
---|---|
customfield_Value | the value of the custom field |
base64(customfield_Value) | The encoded value of the custom field |
customfield_id | The String id of the custom field example: customfield_10000 |
issue_id | int parameter : The identifier of the issue in question. |
forceUTF8 | Boolean parameter not required with default value is false. If enable, you will ignore encoding mention in config page and use UTF-8 as default |
...
Bloc de code |
---|
http://192.168.1.42:8410/rest/kepler/1.0/file-attach/download/aW1hZ2UwMDItMTU3OTUwNDI3NjA4OGN1c3RvbWZpZWxkXzExMDAxLnBuZw==/customfield_11001/10100 |
Bloc de code |
---|
http://192.168.1.42:8410/rest/kepler/1.0/file-attach/download/aW1hZ2UwMDItMTU3OTUwNDI3NjA4OGN1c3RvbWZpZWxkXzExMDAxLnBuZw==/customfield_11001/10100?forceUTF8=true |
Delete file:
...
The base URL for deletion is as follows:
Bloc de code |
---|
<Base <Base-URL>/rest/kepler/1.0/file-attach/delete?filenameEncoded={1}&customfieldId={2}&issueKey={3} |
...