Show the Summary of the Parent ticket when viewing the Sub-task

Marc Jason Mutuc
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.
February 9, 2017

My goal is to display the Summary of the Parent of a Sub-task. Appreciate the help! Thanks!

1 answer

1 accepted

1 vote
Answer accepted
Vasiliy Zverev
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.
February 9, 2017

You can create a script field. Here is a code to get summary of parent issue

import com.atlassian.jira.issue.Issue

return issue.getParentObject().getSummary()
Marc Jason Mutuc
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.
February 9, 2017

Thank you so much! I would like to learn more abour scripting. Can you point me to the right documentation?

Vasiliy Zverev
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.
February 9, 2017

You could start with documentation on JIRA API for your JIRA version. 

Here is an exaple: https://docs.atlassian.com/jira/server/

JamieA
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.
February 22, 2017

Suggest an answer

Log in or Sign up to answer