Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the sprint information using the issue key

Chetan Lohade July 18, 2023

How to get the sprint information (sprint name, sprint ID) using the issue key.

Tried using "issue.CustomFields["Sprint"].Values", but it is giving empty value.

1 answer

1 vote
John Funk
Community Champion
July 18, 2023

Hi Chetan - Welcome to the Atlassian Community!

What are you going to do with the Sprint ID? 

The Sprint name would be {{issue.sprint.name}} 

The ID would be {{issue.sprint.id}}

Chetan Lohade July 19, 2023

Hi, 

Thanks for reply.

Can you give the example in C#, as I am not getting property like "issue.sprint".

Like John Funk likes this
John Funk
Community Champion
July 19, 2023

Sorry, I don't know C#

Chetan Lohade July 19, 2023

Then can you please provide the complete example with {{issue.sprint.name}} ?

Like John Funk likes this
John Funk
Community Champion
July 20, 2023

That would be for using an automation rule - not code. What exactly are you trying to do? 

Chetan Lohade July 20, 2023

I want to fetch sprint name tagged to an issue in my C# application.

John Funk
Community Champion
July 20, 2023

Okay, that's beyond me then - sorry. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events