Need Help Integrating Jenkins JMeter Output with JIRA

After completing a JMeter test run on Jenkins, I have successfully configured an email attachment for delivering the report. Now, I am looking for a method to automatically forward these test results to JIRA. Any step-by-step guidance or recommendations on setting up this integration would be greatly appreciated. Thank you for your assistance.

hey, you can try a custom script in jenkins to call the jira api after the test run. i had to tweak my auth settings a bit to get it work, but it helped to automate the posting of results to the right ticket. good luck!

I have managed a similar integration before and found that setting up a dedicated Jenkins job to trigger the JIRA API calls was the simplest approach. My solution involved creating a script that reads the JMeter output file and posts it as a comment or attachment directly to a designated JIRA ticket. It wasn’t entirely straightforward, particularly when dealing with token-based authentication and adjusting the API payload to match our JIRA setup. However, after some trial and error and referring to the latest API docs, the system became pretty robust. This approach allowed us to have a clear automated trail of test reports in our issue tracker.

I encountered a similar challenge when trying to forward Jenkins test reports to JIRA. From my experience, a practical approach is to utilize the JIRA REST API within a Jenkins post-build action. Once the JMeter report is generated, you can activate a script using a curl command that attaches the report directly to a ticket. It is essential to handle authentication securely using environment variables or Jenkins credentials. Make sure to verify that the API endpoint and payload match your JIRA configuration details so the process executes reliably.