Good morning.
I need to know how to make a query like the following:
....and currenuser() in membersOf("groupname")...
This is possible?
Diego,
currentuser() is a function like memberof(). You can only do selects on fields of an issue which can be compared against other field or functions. One solution could be to create a custom field containing all users related to that or containing groups related to that issue.
Hi Diego,
you could try;
...AND assignee IN memberof("groupname")
to get all issues assigned to members of that group. If you like you can extend this with reporter, creator, etc with eg.
...AND (assignee IN memberof("groupname") OR reporter IN memberof("groupname"))
Does this help?
Best
JP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
what you mention is correct, but it is not what I need, not necessarily who is consulting has a role within the issue, for example, enter to consult someone who only has to control who is working.
EX:
project = TICKET AND issuetype = Ticket and Aplication in ("nameaplication") AND currentuser() in memberof("namegroup")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your reply!
I have created groups for different work teams, I have a board where I see certain incidents, I need to share the board with the members of the teams and that they visualize only what refers to the group they belong to.
ty
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Diego Daniel Gil
Though i am not clear with your question , i give you some instances.
project = "design" AND assignee = currentUser().
This is one way you can find current user as assigne in project design. Similarly
project = "Design" AND Repoter = currentUser()
will fetch you the tickets reported by the current user in the project .
Hope this matches your question or clarifies you .
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.