Jira sum of story points in epic based on the linked issues using SIL Scripts

SHANAVASH MOHAMED
Contributor
November 13, 2023

Jira sum of story points in epic based on the linked issues using SIL Scripts need to update SIL Listeners. 

 

Below Script for the Reference :

 

string parent_;
int storyPointsTotal = 0;
if(%key%.project == "DT"){ 
// the above DT is project key;
    for(string issue in allLinkedIssues(key)){
        if(%issue%.issueType == "Feature"){
// The Above Feature is Like Epic 
            parent_ = issue;
        }
    }
    
    if(parent_ != ""){    
        for(string issue in allLinkedIssues(parent_)){
            if(%issue%.issueType != "Feature" && isNotNull(%issue%.customfield_10024)){
                storyPointsTotal += %issue%.customfield_10024;
//The above customfield_10024 = Storypoint customfield id 
            }
        }  
        %parent_%.customfield_10024 = storyPointsTotal;
    }
}

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events