View Sub-Task assignees in issue search

I'd like to have a way to view which developers worked on which stories at a glance.

My preferred solution would be to view the assignees of the sub-tasks of each User Story in the issue search. Is there any way to do this?


1 answer

1 accepted

0 votes
Accepted answer

You can put the assignee on the list of columns when you display a search in the issue navigator. It's in there by default.

But I suspect you're not actually listing the subtasks in your search. In that case, you'll need to find or write an addon that can do it - my approach would be a derived field - one that can search through the sub-tasks of each story and accumulate their assignees into a list for display on the story. If you structure it correctly, it'll be visible on the issue navigator and searchable (I'd use the script runner to do it)

Thanks a lot for the quick reply!

A derived field is exactly what I was looking for. I've installed Script Runner and added a searchable custom field.

Still, I'm stuck now at writing the script. Could you help me setting it up? For testing purposes I tried returning an example string, but the script appears to return nothing at all. Any suggestions?

I find with the script-runner field, you need to save what you first put in, then go back into it and the preview will start working (and it'll be fine for any edits you do, it's just the first save you need to get it to work)

Thanks, it worked! I was able to set up my script and it works like a charm. For any users, who might need it in future:

import com.atlassian.jira.user.ApplicationUsers

def arr = [] as Set

for (i in issue.subTasks) {

return arr

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

967 views 3 9
Read article

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