I'm looking to create a filter where issues are not assigned to the project lead. Another way this could work is if the current assignee is not the same as the reporter:
- project = 'my project' and assignee != reporter
- project = 'my project' and assignee != projectlead()
Something along those lines. Any suggestions?
For the first query you should create a scripted field, e.g. scriptedfield1 which returns "1" if the assignee equals the reporter else it returns "0"
Then you could use
project = 'my project' and scriptedfield1 != "1"Similar can be done for project lead
I do not know how many project leads you have per project but if your environment is simple(ie small number of project leads) then you could create groups for each project containing the project leads and then use the membersOf function like:
assignee not in membersOf("projectx-project-leads")
Scripted field doesn't work because the scripted field is not rendered until the browser displays the issue (I think). Our solution was to have a number field set to -1 on create, then when we assign the issue back to the requester, we set it to 0. Then the number field is searchable. Note: This only works if you know when you are setting it back to the requester through post functions.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG