Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Finding scrum board where sprint was created

Hi,

  I've seen the answer to this question before but i can't seem to find it now. 

I need to find out what scrum board a sprint was created in.  I understand it requires executing queries against the DB but can't find the right query to run.

Is anyone able to help me with this?  Thanks in advance.

 

2 answers

1 accepted

0 votes
Answer accepted
Andy Heinzer Atlassian Team Sep 04, 2019

Hi Greg,

This is something you can do in Jira Server if you have access to the database.  But this is not as easily determined in Jira Cloud since those users don't have SQL access.   In my Postgresql instance I used a query like this to find all the sprints and list the board where they were initially created:

SELECT sprint."NAME" as "Sprint Name", board."NAME" as "Board Name" 
FROM "AO_60DB71_RAPIDVIEW" board
JOIN "AO_60DB71_SPRINT" sprint ON board."ID" = sprint."RAPID_VIEW_ID";

This won't show sprints that are created by the sample data process, technically they aren't created on a sample board, but auto generated.  This query will show any sprints created by a user, and the board listed is the board where that sprint was created.  Just for the sake of others that might find this, please be aware that sprints can exist across multiple boards simultaneously.

I hope this helps.

Andy

Thanks so much Andy!  Im on Jira Server and have access to the database so I will be able to do this.  My challenge will be converting the query to one that will work on MySQL as that is the DB we have in place.  This query looks basic enough I should be able do that with no problems.

 

Thanks again!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

How to create Jira issus from Excel file?

When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...

4,308 views 22 31
Read article

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