Forums

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

Set Active Sprint into Custom Field based on a transition.

dalioto
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 9, 2022

I am trying to create a dashboard that will allow me to see in which sprint an issue was completed during the project. 

So I created a custom field called Sprint Completed that lives with each issue. I want to populate that custom field based off of the transition into Complete from Work to be Verified. I have it all figured out except for the part about the current active sprint. 

I can get an array of sprints that this issue has ever belonged to, but I don't need that. I would just like the current active sprint during the transition. Is this possible?

2 answers

0 votes
dalioto
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 10, 2022

No. I am not using any third party apps. 

However, I would like to know if scriptrunner would allow for a solution to this problem.  

0 votes
padraik
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 10, 2022

Are you using scriptrunner for this?

padraik
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 11, 2022

@dalioto yes, you I believe you could do this with a listener.  When the transition is made you would check for 

issue.sprint.state == 'active'

and if true, you could populate your field with the value from issue.sprint.name

Suggest an answer

Log in or Sign up to answer