While issueFunction in workLogged('inGroup jira-developers')
yields results, issueFunction in workLogged('inGroup
<groupname hidden>')
does not, despite the group containing users and those users having logged work.
Any ideas?
Update: Works for me now (with current ScriptRunner and current JIRA)
ScriptRunner: 4.2.0.4
JIRA: 7.0.5.
so to clarify: issueFunction in workLogged('inGroup jira-developers") works but issueFunction in workLogged('inGroup <internal-group-name-goes-here>') does not.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Klaus,
Referring to the documentation on the worklogged issueFunction. What version of JIRA are you running this against?
In particular, are you using JIRA 6.4 (also likely ScriptRunner for JIRA version 3.0.11+) or later - since it will only work for these later versions (since this is when JIRA started indexing the worklogs)?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Screenshare with Klaus showed they are using JIRA 6.4.x and ScriptRunner 4.1.1. The query seems to work with "InGroup jira-developers" but not with a user defined group. The users belong to the an AD User Directory but a local user-defined group.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ok, this makes it clear. May be it is bug or something, Its working fine for me "internal user for ldap authentication"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Perhaps the indexed value is not the same as the AD group name, to allow for the AD group changing name or something. I will have to write some test code to work out what the issue is here...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It looks like this may be a bug but there is a workaround until we fix this. I would recommend trying this query instead: issuefunction in workLogged("by membersOf(groupname)")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Was the bug fixed or a solution found? Using the query with "by membersOf(grouName)" I get completely wrong results. Is there another way to mimic the functionality of "inGroup groupName"?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
David,
No, as far as I recall we weren't able to reproduce this in our own environment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Klaus,
Thanks for the update, it's great to know it is working for you. Is that with the latest version of ScriptRunner compatible with JIRA 6.4.x (i.e version 4.1.3.7)?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, didn't understand what is <groupname hidden> Could you please elaborate ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to great meetings, with less work. Automatically record, summarize, and share instant recaps of your meetings with Loom AI.
Learn moreOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.