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.


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 Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

391 views 6 0
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