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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,466,140
Community Members
 
Community Events
176
Community Groups

Get Default board for project and sprints using .NET SDK

we have a tool we use that extracts project and Epic details from TFS, now migrating all that to Jira cloud.

 

I am planning to use the .NET SDK to do this and have made some progress making the connection, i can get all issues and filter those to get only Epics, i can get projects, etc.  what i am stuck with now is getting the sprint that the project is assigned to, all the available sprints for a board, etc. 

anyone have any examples of how to get a kanban board and associated sprints as well as which sprint an issue (Epic) is assigned to?

1 answer

0 votes

Welcome to the Atlassian Community!

There are a few problems with this question:

  • Sprints do not belong to projects, not projects to sprints
  • Kanban boards do not use sprints
  • Projects do not (yet) have a default board
  • Epics do not go directly into sprints (usually) and may belong to many

But take a.look at https://developer.atlassian.com/cloud/jira/software/rest/intro/

is it possible to get the sprint(s) that an Epic is associated with?

If you have set up Jira to that Epics can go into sprints, then yes, you can simply read the Sprint "field" from the issue.

field, as in a custom field i am guessing?  i don't see an Issue property that is for a sprint.  Sorry so very new to Jira, working on understanding the flow, architecture, hierarchy etc.  I appreciate your patience and assistance.

image.png

Correct, most Jira data is held in fields, properties are quite obscure and little used.

ok, thanks.. this really helps.  Once last question on the topic, while Sprints are not project or scrum based, that implies they are seperate, in and of themselves and other things can reference.  so my question is, where would the sprints be.  like for Epics and features, i can use Jira.Issues.GetIssue(...)

how do i get the defined Sprints?

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events