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

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.


0 vote

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 Join to answer
Community showcase
Emilee Spencer
Published yesterday in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

47 views 0 3
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot