Hi Team,
I need a field in Parent issue view screen like "Subtask statuses ", this should be copy all subtask statuses.
Can you help me the right code ?
Thanks
Nagaraju
Hello @Musku Nagaraju
When you say - "this should be copy all subtask statuses" , do you mean the field should have the currently statuses of all the sub-tasks?
And if that's the case then you can have a scripted text field which can contain comma separated aggregation of the statuses of all the sub-tasks
If the scripted field you just need to fetch the subtaskObjects and aggregated and return their statuses which should be pretty straight-forward.
https://docs.atlassian.com/software/jira/docs/api/7.6.1/com/atlassian/jira/issue/Issue.html#getSubTaskObjects--
Yes @Tarun Sapra ,
I need a help of code to achieve this.
There are plenty of script runner examples available on this portal for scripted fields. And also in the ScriptRunner documentation.
Can anyone help me on coding how to achieve this.
It looks like you're new here. Sign in or register to get started.