Forum Discussion
rarrieche
Oct 27, 2022Copper Contributor
Download Azure Devops Pipeline logs and send attachment to Jira
Hello everyone,
i've implemented a release pipeline from database object compilation and send a comment to Jira Service Management when de job is done with the link of pipeline. The developers go to the link and only can view the logs in Azure DevOps, after a month this pipelines and logs are erased.
¿How to create a final job in the pipeline for download de log and send a attach comment to Jira Service Management?
Thanks!
- UnaihueteLearn ExpertHello,
I do not think marketplace would be available for this scenario. I would create a Bash/Powershell script (or other), that uploads the file using Jira´s REST API. https://confluence.atlassian.com/jirakb/how-to-add-an-attachment-to-a-jira-issue-using-rest-api-699957734.html