Question
Hello!
I am using the
ActionTrackerPlugin.
Is there a way to show all actions that i created but are not for me?
Something like
%ACTIONSEARCH{web=".*" creator="me" who!="me" open|late }%
or
%ACTIONSEARCH{web=".*" creator="me" who<>"me" open|late }%
?
The two examples i posted do not seem to work. Any suggestion for a workaround?
Thank you!
Environment
--
StefanieWrobel - 28 Dec 2006
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
An idea that comes to my mind is something like:
who = %SEARCH{show all usernames of %WIKIUSERSTOPIC% but mine and separate them with "|"}%
but i hope there is an easier way..
--
StefanieWrobel - 28 Dec 2006
This might work:
%ACTIONSEARCH{web=".*" creator="me" who=".*(?!%WIKINAME%).*" open|late }%
Note I have used a perl extended regular expression for the
who setting which excludes any string that matches your name.
Please flip this to "answered" if it works.
--
CrawfordCurrie - 02 Jan 2007
Thanks for the suggestion, Crawford. Unfortunately, it has no effect at all.
Is it supposed to work? Could it be that something about my action syntax is wrong? (I create it using the
CommentPlugin and a template.) My actions look like this:
%ACTION{ due="4-Jan-2007" uid="000051" creator="Main.MyName" state="open" created="3-Jan-2007" who="Main.OtherName" notify="Main.OtherName" }% descrioption of the task.
--
StefanieWrobel - 03 Jan 2007
Ah, sorry, I did say it "might" work. Your action syntax is fine. There was just a slim chance that the regular expression got passed unchanged to the function that matches the
who field - I guess not.
If you are determined to have this, then add an enhancement request in
Bugs:ActionTrackerPlugin
. If you want it fast, you'll have to pay me, or get someone else to do it. If you are prepared to wait, then I'll probably get around to it in a few months.
--
CrawfordCurrie - 04 Jan 2007