Use API from defects plugin
I have a defect plugin developed to connect SIlkCentral to Seapine TestTrack Pro.
The plugin works fine, now I have an issue, I need to be able to use inside my plugin values from the currently executed test case where the add defect button was pressed. I need info like the steps description and all the other information related to that specific test case.
I need this info to be able to automatically add it to the defect in specific fields.
Any help would be appreciated.
currently the only possibility to get the test context when an issue is created is parsing the description. The description contains the bookmark to the tests which contains the projectId and testId as parameter. With this ids the web services can be used to get the information you need.
This approach would only work when creating new issues, but not when using "Assign existing issue".
I thought about that but the bookmarks are only available in the description at the time you save the new issue, any way to get the bookmarks value at the time the plugin is launched?
This is only available when implementing a plugin for a third-party test type integration. It provides access to execution related properties (e.g. execution plan name, where to store result files, ...)