Jira stores all attachments not with the filename in the attachment but as an ID.
Now I have to find out which ID belongs to a specific filename.
The only way to do this in my opinion is to query the database .
I do not know which table I have to query. Maybe attachment .
There I should find the matching of Id and filename.
Has anyone done this before ?