Hi,
I'm having a problem with issueFunction.
I would like to have a dashboard that shows the parent task if the current user is assigned to one of its subtask or if the parent task itself it's assigned to the current user. (Basically, if I log in I want to see the parent task if I'm assigned to a subtask). There are multiple sub-tasks and they can be assigned to different people. The people who has the parent task is the main one who reviews all sub-tasks once completed. (These parent tasks are part of an Epic)
I have ScriptRunner and I'm using ScriptRunner Enhanced Search to create a filter. Filter is currently set to (I'm not worried about the second part since that works):
issueFunction in parentsOf("assignee = currentUser()")OR(issuetype=Task AND assignee=currentUser())
This filter is saved as "Tasks that I'm a part of". "Sync Filter" enabled, "Share with all" enabled. Then I have a filter gadget on the dashboard to display the issues.
The filter works perfectly fine for me. However, this is not working properly for other users. Other users are getting my filter results. So if I get 7 results, the other users are getting the exact same results as me. They currently have nothing assigned. It's almost as if the issues keys are hard coded because they appear as below when they open the filter.
issue in (TCM-199, TCM-143, TCM-128, TCM-94, TCM-83, TCM-63, TCM-32) OR(issuetype=Task AND assignee=currentUser())
So just to clarify, the filters are actually loading on the dashboards but they just have my results in the dashboard. I don't believe this is an issue with permissions. I believe I've set that everywhere that I can.
Any help would be appreciated on how to ensure that issueFunction loads the correct results on everyone's dashboard.
you might want to go over to the support.atlassian.com site and report this - this all looks solid to me and must be related to the gadget.
Online 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.