Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to create advanced scripted field to display the story points value from the link issue to epic?

I want to create a Scripted Field that contains information ( story points, issue key and status) from the issues that have been linked to epic. And display then in HTML Table. I did find a script: import com.atlassian.jira.component.ComponentAccessor
import groovy.xml.MarkupBuilder

def issueLinkManager = ComponentAccessor.getIssueLinkManager()
def links = issueLinkManager.getOutwardLinks(

def writer = new StringWriter()
def xml = new MarkupBuilder(writer)

return null
#scriptField, #scriptField *{
border: 1px solid black;

border-collapse: collapse;

th( "Key")
th("Sorty Points")
links.each {issueLink ->
def linkedIssue = issueLink.destinationObject

return (writer.toString())

Which works fine for giving the details for (issue key and status), but I am not able to get the story points value in this and setting a jql to get only open linked issue value, not the closed one.

I am new to scripting, any help will be much appreciated.

1 answer

Any help, is much appreciated. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

551 views 15 18
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you