It used to work but after recent upgrade to Jira 8.20.1 now I cannot download JIRA attachment programmatically. Previously when my dot net program used to execute the url (https://issues.ngptools.com/jira/secure/attachment/1197574/ADV-48936-09576.csv?&os_username=xxxxxxx&os_password=xxxxxxxxxx) it used to download the file but now it is not working and giving error, I am receiving a "permissionViolation=true"
Is there any different way to download attachment now?
Hi @Rajendra Dixit
That will not work anymore indeed. See JRASERVER-38548
Try using basic authentication. This means you will have to provide the credentials encoded with base64 in a request header.
And as you're using this in some custom program it would be even better to use a personal access token in you basic auth header.
@Charlie Misonne thank you, I was able to get the attachment using personal access token.
OK! Glad I could help :-)
It looks like you're new here. Sign in or register to get started.