Hi,
I want to create multiple issues at once using /rest/api/2/issue/bulk endpoint.
However, I want it to fail if ANY of the tickets fail. Right now it creates tickets that are correct, but my preferred way is to block it from adding any ticket if at least one fails.
Is there a way to do it? Thanks!
Hi @Patryk Starostka ,
there is no bulk create in the standard Jira API. So you'll either need an app, that has this feature (but I've never seen something like this before) or you can try to build your own REST Endpoint by using the Scriptrunner App for example. Then you can first get all data and validate it and then create the issues if everything is fine.
Another solution might be to save the created issues somehow and if an error appears, delete all already created issues.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.