I want to mark attachments that have already been downloaded to differentiate them with the one attached later on. Is it possible to set something like metadata of the attached files? Or any other ways? PS: I should use JIRA python API
There is no way to modify the meta data from the JIRA REST API.
A solution would be to store the downloaded attachments ID's locally and then when downloading later exclude the attachments that are already present in your local list.
However if you wish to get into JIRA Plugin development you could look to create a plugin that creates a REST API that could modify the Attachments Meta Data and adds a downloaded
property on the Attachment
object. (Not 100% sure it is possible but could be)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.