Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JQL to return issues selected in a Scriptrunner custom single Issue Picker field?

I have a Scriptrunner custom single issue picker field "Master" which is used on selected custom issue types to allow users to select from a subset of Epics.  This is used for a slightly different purpose than the built-in Epic field, and I need to have both. 

When using JQL to search for issues, if I use 

issueFunction in issuePickerField('Master')

I get a list of all of the issues where the user has selected something in the Master field.  What I want is to get a list of the issues (Epics) that were selected in that field (like what "epicsOf" returns, except this would be for the Master field, rather than the built-in Epic fields).

Am I missing something? Is there a way to do this with JQL?  (Based on what I read in the Scriptrunner docs, I do not have the skill / knowledge / tools to create my own JQL custom function.)

1 answer

1 accepted

0 votes
Answer accepted

Unless I'm misunderstanding something, I don't think the existing function allows that.

I would recommend making a feature request to get the reverse of the current issuePickerField function.

Thank you, feature request submitted.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

⏰ Day in the life of a Jira Admin!

Hello Community! We thoroughly enjoyed this just-for-fun conversation in the Jira Admin Group about what it's like to be a Jira Admin. For #JiraJuly, our talented designers created these graphics t...

728 views 2 21
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you