Forums

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

I want to display sum of story points in all project linked as "relates to" and display on parent.

Sandeep Pandey
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!
April 25, 2018

I want to display sum of  story points in all project linked as "relates to" and display on parent project, means  from the parent we need to list down all linked project and get the estimates from there and add it.  tried below but not able to list down the application --

<!-- @@Formula: import com.atlassian.jira.component.ComponentAccessor; import org.apache.commons.lang.StringUtils; BlockingKeys = new ArrayList(); int i=0; inwardLinks = ComponentAccessor.getIssueLinkManager().getInwardLinks(issue.getIssueObject().getId()); for (issueLink : inwardLinks.iterator()) { BlockingKeys.add(issueLink.getSourceObject().getKey()); i=i+Integer.parseInt(issueLink.getSourceObject().get("customfield_13953")) } return i; -->

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events