https://docs.atlassian.com/software/jira/docs/api/REST/7.6.1/
I am referring to above API docs.
I have multiple defects up to 100+ to link to an user story or EPIC in jira.
I am using search to filter the issue and export csv to get all issue keys.
How do I make use the JIRA API to link all issue keys as a child under the particular user story?
Use Edit issue endpoint
There are examples in the documentation
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In your original post you said you wanted to 'link the issue keys as a CHILD' so I assumed you wanted to create a PARENT / CHILD relationship between the two.
Now it seems you just want to LINK multiple issues of the type defect to a single issue of the type story, which is not the same thing. Refer to the Issue Link endpoint documentation on how to LINK issues together.
And, before you ask "But how do I link more than one defect via a single call to the Issue Link endpoint", Google 'jira rest api link multiple issues' which will lead to JRASERVER-66329.
Have fun on your learning journey
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.