respone {"issueIdsOrKeys":["GMQA-2734"]}
while recording a script to create a task in jira i get the above request and respone. what i need to do is every time the issueIdsOrKeys should be different so on every run a task is created.
respone {"issueIdsOrKeys":["GMQA-2734"]}
while recording a script to create a task in jira i get the above request and respone. what i need to do is every time the issueIdsOrKeys should be different so on every run a task is created.
Looking into Jira REST API examples when you create an issue you should get response like:
{
"id":"39000",
"key":"TEST-101",
"self":"http://localhost:8080/rest/api/2/issue/39000"
}
So if your test is about creating a task and then verifying that it is in the dashboard - you need to extract this key
attribute value using JSON Extractor, the relevant JSON Path query would be as simple as $.key