Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Allow views for Sub-Assigment 1

Status
Not open for further replies.

TudorSmith

Programmer
Jan 14, 2002
245
GB
Here's a tricky one:

In my sc.manage.problem.g, the problem tickets that appear are based on the assignemnet group that they belong to, i.e. if CARDY open the problem page, they view all their tickets where CARDY is the assignment group.

Now, I have (at the users request) added a field called Sub-assignemnt, whereby a ticket can be dealt with by two assignee's, so the user can select a second assignment group for the ticket.

My problem: I would like the problem page to display all tickets where the assignees name is stored either in the Assignment field... or ...in the sub-assignment field.

I would imagine I'd have some code like this:
Code:
assignment=$lo.user.name or subassignment=$lo.user.name

I'm just speculating with that bit of code but I need help! (with my coding!)

What string of code should it be...and where would I apply it?

Regards

birklea
birklea ~©¿©~ <><
I know what I know...don't presume that I know what I don't! Smithism!!!
 
That should be fine. You'll want to have flag=true in there as well so that it's only showing open tickets. That'll give you:

flag=true and (assignment=$lo.user.name or subassignment=$lo.user.name)

 
Thanks Chris

Where would I apply this bit of code...is it the INBOXES again?

birklea birklea ~©¿©~ <><
I know what I know...don't presume that I know what I don't! Smithism!!!
 
Yes

Create a new inbox with that query, then you can have your users point to that inbox with their incident group profile.

Or, if it should be like that for everyone, you can just make the change to the existing inbox.
 
Thanks birklea ~©¿©~ <><
I know what I know...don't presume that I know what I don't! Smithism!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top