Forums

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

How to set up the sprint field to record all sprints of a issue?

Rafael Longo
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!
January 10, 2019

I need to set up the sprint field to record all sprints a iten passed

1 answer

0 votes
Alexey Matveev
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.
January 10, 2019

Hello,

You would need a plugin for it.

You could use the Power Custom Fields Premium add-on to create a SIL custom field, which would return information about sprints for each issue.

https://marketplace.atlassian.com/apps/1210749/power-custom-fields-premium?hosting=server&tab=overview

The code for the custom field would be like this:

string[] historyList = fieldHistory(key, "Sprint");
string sprints = "";
if (size(historyList) > 1){
  for (int i = 1; i < size(historyList); i=i+2) {
    sprints = sprints + ","+ sprintName(historyList[i]);
  }
}
return sprints;

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events