when I am trying to integrate JiraTestResultReporter module in Jenkins , It says the project key is invalid even though it is correct.
Hello @Divyani ,
Welcome to the Atlassian Community!
Usually if a project exist but you cannot see it something went wrong with the authentication.
Can you kindly let us know which steps are you following to integrate Jira with Jenkins and where (which step) do you get the error?
Cheers,Dario
Hi @Dario B
I've followed the instructions from below link for integrating Jenkins with JIRA server & getting the error as "Invalid Project key" from the 'post build actions'-> Additional test report features-> JiraTestResultReporter.
I've provided the valid project key only but still it's giving the error.
Link: https://github.com/jenkinsci/JiraTestResultReporter-plugin
Any suggestions will be really helpful. Thank you!
Hello @lokeshkambhoji ,
I am not sure if you are working with @Divyani on the same project or if this is a different scenario. Can you please clarify?
Also, is this for Jira Server or Cloud?
I am asking because, as already mentioned, if the project key is not found even if it actually exists in Jira there are chances that the authentication failed. And, looking at the instructions you are following, I can see that they authenticate using username and password but this is not going to work in Jira Cloud.
Indeed, as you can read in below link, basic authentication with username and password has been deprecated long time ago in Jira Cloud and you should use basic authentication with email address and API Tonken instead.
For details please see:
Hi @Dario B ,
Thank you for your quick response, I am not working with Divyani.
I am using the JIRA cloud only and followed the below steps for authentication.
1. Provided the JIRA URL, username(provided the email address) & password(provided the API token generated from https://id.atlassian.com/manage/api-tokens)
2. Validated the settings from the configure systems in Jenkins and it's showing as 'jira'.
But from the post build actions i am getting the error message as 'Invalid project key'.please let me know how to get resolve this error.
Is their any other plugin for this
It looks like you're new here. Sign in or register to get started.