Main Issue: The main issue is that I am unable to link QMetry test cases. According to the QMetry documentation, it is possible to link test cases using the QMetry API key. However, when I attempt to do so, it asks for the JWT token. Please refer to the QMetry documentation for more details: QMetry API Tool Documentation.
Token Access:
I am not able to access the tenant token, which I need to pass as an authorization header for QMetry to link the test cases. Below are the steps I have tried:
-
Using the getContextToken Method:
-
Documentation link: Atlassian Connect JavaScript API
-
Using Context Methods:
-
Using document.cookie Method:
-
Using Parent Window (as the plugin is in an iframe inside Jira):
Please find the code snippets
Please help and guide me to how to access the token, we are working under a SSO.
I want the tenant token for the authorization and linking functionality’s