Hi,
If I can save the response from a API call with a file name and then is it possible to add that file as attachment to the respective ticket.
For Example:-
I am calling JIRA URL and gives me a response which I will save it file.txt. Is it possible to add this file to already created called JIRA-1?
Regards,
Sunil
https://confluence.atlassian.com/jirakb/how-to-add-an-attachment-to-a-jira-issue-using-rest-api-699957734.html describes the API process
Edit:
If you want to do it all inside SR/groovy, then there are several examples how to do it here: https://community.atlassian.com/t5/Marketplace-Apps-Integrations/How-can-I-add-an-attachment-to-an-issue-in-a-post-function/qaq-p/1002759
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.