It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Adding Issues to Sprint without knowing the SprintID using REST API Edited

I have read multiple similar questions, but somehow not able to find the answer I am looking/hoping for. 

I am using the REST API to create issues using /rest/api/2/issue/bulk endpoint. The only issue I am having is creating the cards while assigning to a Sprint. I am able to do so by providing the Sprint ID in a customfield, but the environment I am creating the issues from, I don't inherently know the Sprint ID, only the Sprint Name. I would like to assign the cards to the Sprint if the sprint exists, or create the sprint if it does not exist. 

Is there an endpoint that I can call to provide me with a list of Sprint and Sprint IDs that exist for a specific project? I'm willing to entertain any work arounds as well. 


Its absolutely mind boggling to me that the REST documentation doesn't even mention the word "sprint" once. I know I am not the only one having this issue. 




2 answers

1 accepted

0 votes
Answer accepted

With Jira Agile v7, you used to be able to do it by posting a request to:


Not sure if Jira Software still supports that method.

Either way, you need to create the issue first, then assign it to a sprint. You can't assign an issue to sprint without first knowing what the ID of the sprint is, so you need to look them up first.

0 votes
Adrian Atlassian Team Jan 23, 2020

Hi @Zach Heisler 

You can find REST endpoints related to sprints here:

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you