Forums

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

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-
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.
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