I want to link multiple testcases to the user story., please assist.
You can have a list of your test case keys (one per line or tab-separated), then navigate to your Story > Link and paste the list of issue keys there.
This doesn't work. You have to still manually select the ticket yu want to link from the list of ticket Id's. You then have to repeat the process one by one to link all of the tickets in your list
Did you solve it?
No
Hey, I’m not entirely sure if there's an inbuilt feature for this, but you can definitely get it done using APIs. I actually had a script lying around that does something similar, so I thought I’d share it.
This script processes an Excel file with your issue link data and sends requests to the Jira API to create those links. It even adds a little delay between requests to avoid hitting any API rate limits, which can be a lifesaver.
I added a 100ms delay between API requests to prevent any issues with Jira’s rate limiting. This way, you don’t have to worry about some links failing because too many requests were sent too quickly.
You can find the repo here
And while we’re on the topic of automation, if you’re looking to streamline your test case creation and linking, you might want to check out Test Case Assistant for Jira. This tool doesn’t just save you time by automatically creating and attaching test cases to user stories with a click—it also uses AI to generate the test cases based on your user story details. So, instead of manually writing out test cases, the AI does the heavy lifting for you.
Whether you're dealing with a few test cases or managing a large backlog, this can make the whole process a lot smoother and faster. If you’re curious to learn more, you can check out the documentation or grab it from the marketplace
It looks like you're new here. Sign in or register to get started.