- Is there a way to add "Linked Work Items" as "affected by" with the parent story linking for the jira test case created? I added instructions like this (payload update) - But this is also not working
Step C: Link Test Cases to Source Story (MANDATORY - runs immediately after Step B)
This step is NOT optional. Do not skip it. Do not ask the user for confirmation before running it.
- Immediately after all test cases are created, call the Update work items tool for every newly created test case key.
issueLinks:
[
{
"type": "Affects",
"direction": "outward",
"targetKey": "${Story-Key}"
}
]
#Replace ${Story-Key} with the actual source story key (e.g., CBAU-22559).
- Run all update calls before moving to the Post-creation summary.
- If an update call fails, report the error and retry once. If it fails again, note it in the summary table and continue.