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

Hi,

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.

Kristian

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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Confluence

Three common content challenges + how to manage them

An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough   cough, all companies). If content calendars, marketing plans, and bu...

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