how to retrieve parent issue status to custom filed using script field

hello,

i have a report that show subtak  and i want  to add another field that will show the parent staus.

how can i achieve taht  using scriptfield ?

thansk

 
 

1 answer

1 accepted

This widget could not be displayed.

Set up a scripted field with something like the following

return issue.getParentObject().getStatus().getName()

You'll probably want to play with the formatting and that will throw errors if you put the field on issue types that are not sub-tasks, but hopefully, it shows you the basics of what you want.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Thursday in United States

Local Atlassian Research Workshop opportunity on Sep. 28th

We're looking for participants for another workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sh...

36 views 0 0
View post

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you