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

Michael shechter July 6, 2017

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

0 votes
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 6, 2017

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.

Michael shechter July 9, 2017

thanks !

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events