I have a simple Java code in Github which has 2 test cases out of which 1 will fail. I have a Maven project in jenkins which will create issues for failed tests while building the project. I'm using JiraTestResultReporter plugin. I have Jira credentials in Configure System Page in Jenkins. Even when I select the "Auto Raise Issues" option, Issues are not getting created. However I was able to create issues from Test results page in Jenkins(So i think communication is not a problem)manually by clicking "+" next to failed test.
pic for your reference
Kindly help me to solve this issue.
I found the answer for it. I would suggest, please use who ever facing this issue for JiraTestResultReporter plugin throwing 401 error code message on validating your credentials.
Jira has removed password authenication from any kind of plugin integration, hence you need to create auth token from jira which will be used in case of above plugin password section and username name will be your email address.
I did this and it got fixed.
For more information read this link.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events