Script runner: issueFunction to get user property in a JQL query


Is there a way to do a JQL query based on user properties via IssueFunction or any ither function thanks to script runner ?

I knwo the question has already been asked but it's such a shame to be able to set user properties without being able to query on them ...

thanks for your help


2 answers

This widget could not be displayed.

Hi Mel,

I recently answered a similar question here on how to report on user properties inside of JIRA using Script Runner which may be of interest to yourslef.

I hope this helps.


This widget could not be displayed.

You could write your own function, I can't think of another way. It would be nice if ScriptRunner included that function.

A less satisfactory alternative is to create a script field that exposes the user property, eg "some property" of issue.assignee. Then you could query on that.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

209 views 1 3
Join discussion

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