Jenkins-Jira/Zephyr Scale Integration - API Key Instructions Out of Date?
I'm trying to get my Cucumber test results to show up in Zephyr Scale. Currently, I'm using the 'Master Thought' (the editor won't let me leave 'master' and 'thought' as one word, which is how the plugin is titled) plugin to generate a 'pretty' test report, and they do show up in Jenkins and are connected to each build.
I'm wondering if my API isn't connecting Zephyr Scale Cloud plugin in Jenkins to Jira because I'm attempting to use the wrong key, which is in turn because the directions for generating the key that I need appear to be out of date, or at least don't match what I see in Jira.
Following this documentation to connect to Zephyr Scale, step 4 says to enter an API Key for the Zephyr Scale plugin in Jenkins. In that step is a link for generating API Tokens; it says to click on 'Zephyr Scale API Access Tokens' after clicking your Jira Profile avatar here. However, when I click my Jira avatar, I see everything except for a link to generate an API Access Token, as shown below, the difference being clear between my screenshot and the one in the linked doc.
Instead, though, when I click on the gear icon to the left of my avatar, I see 'Atlassian Settings', and when I click on that, I see a 'Security' sub-tab that brings me to a place to create API tokens.
When I attempt to enter it in a new instance of Zephyr Scale Cloud in Jenkins, though, I immediately get an 'Invalid Credentials' message. This is after a couple of minutes of waiting, as the message you receive in Jira after creating an API keys says it may take a minute or two. I was also unable to enter any value for the Jira Cloud hostname (the placeholder text says it will be created after entering an API key anyway).
Any insight is greatly appreciated.
Firstly, thank you for the detailed post.
I checked my Jira profile and I do see the option so I'm guessing this has something to do with a permissions or configuration setting, but one that I can't seem to find.
Someone in this community might know how to fix this issue, but I would hedge your bets and contact Smartbear support for advice (SmartBear Support) and in the meantime you could try the link below, which is what I get when I click on the 'Zephyr Scale API Access Tokens' link, replacing the "[YOUR REF]" values with your own which you can find in the URL bar when you're in a Zephyr Scale page.
https://[YOUR REF].atlassian.net/plugins/servlet/ac/com.kanoah.test-manager/api-access-tokens?project.key=[YOUR REF]&project.id=[YOUR REF]
Please do share the answer to the issue if you find it 🙂