AgentTicketQueue to display locked tickets also by default? - otrs

We are two people coordinating the work of 14 first and second line support
employees. We would like to be able to dive into a specific queue like
"Printers" and see what is going on in there.
If we use the AgentTicketQueue view we get all the open tickets, but we
need to see the locked tickets too, to be able to see what our people are
currently working on and if anything needs to be reprioritized.
I know we can click the "All tickets" button when we have selected a queue,
and that does work. The problem is that queues with no unlocked tickets
will not be displayed at all in the AgentTicketQueue view. This is quite a
common occurence here because all tickets gets assigned (locked) quickly,
but can take time to solve and close.
There's also the AgentTicketStatusView but that includes tickets from all
queues in a jumble and is not very useful in our situation with 500+
tickets in progress.
Is there a setting or hack to enable this mode of operation? Ideally it
would be a separate menu item, because most agents will want the current
OTRS functionality to pick unlocked tickets from.

The most straightforward way ( without any additional coding or hacking ) is to use search filter templates.
Press on the looking glass icon (Search) on the top menu of OTRS.
Set up the Search filter (see the img). Set up needed queues, states and lock statuses.
Afterwards - save it as a template ( Create New ) and in case you want to quick view tickets from various queues - just make a template for every queue you want.
Of course there is a possibility to make a custom Dashboard widget, but it will require a few hours of development.

Related

How can I view all the content of redmine, such as projects and tickets, easily on the screen?

I'm using REDMINE.
I have a list of projects on the screen.
Is it possible to add details of the ticket content to this screen?
I'd like to look over the screen at once instead of clicking with the mouse, how do I do that?
Also, if you have any plugins or useful tips and so on, please let me know.
Tamazawa, I believe you might be referring to "My Page" of Redmine where you could use widgets to decide what you see on that dashboard - keep in mind that such dashboard s project independent, so it can display issues from many projects that you are a member of on 1 screen.
For instance from My Page, you should be able to select an "Issues" widget to Add and set it up to pull a list of items to display using a saved custom query.
That should give you a snapshot of tasks at hand, without the need to click around the screen too much.
You may need to set up your saved query such that:
Description and / or
Last notes
are checked (if you want to see issues at a glance, without the need to open each one separately).
Alternatively, you can skip that "My Page" idea altogether, if you're ok with just opening a saved query with Description and / or Last notes selected.

How do I conditionally elicit an Alexa multi-turn dialog

I have a customer requirement that necessitates a conditionally prompt from Alexa. Basically, the user will ask {intent} {utterance}, the back-end will check their account to see if they have more than one item in a list; if so, it will ask "which one item 1 or item 2". They will need to respond with 1 or 2.
If there is only one item in their list, it will default to that item and not require input from the user.
My understanding of how multi-turn dialogs works is that I must create a dialog model with at least one required slot. As you can see in my example, there isn't always a required slot.
Is this possible? If so, can you outline (at a high-level of course) what steps I should take?
Note: Unfortunately, one of the requirements is that the endpoints be handled in Azure; therefore, I must utilize Alexa.NET instead of the typical SDKs. Not sure if that changes anything.
Dialog handling
Yes it's possible.
After your:
ask {intent} {utterance}
it will hit your backend with dialogState STARTED
now you can check if you have multiple items
yes(multiple items): delegate dialoge handling back to alexa and alexa will ask for the slot number. You now check if dialogState = COMPLETED and so on
no (only one item): just respond back to the user without dialog delegation
SDK
It does not make a difference with Alexa.NET if dialog handling is implemented there. I also struggle sometimes to find examples for the Java SDK ;-).
Here is a video which helped me.

Is it possible to select all events in my city where most attendees are within my age range?

Using facebook graph API, is it possible to make a search that would return a list of all events in my city, where most (say >50%) of the attendees are within my age range (say born between 1995-2000?)
No, you can't!
What you could do is, fetch all the events in the city, do a loop and check the data you need. I haven't tried to fetch attendees information but i think it is impossible until the user has approved your app.
But #luschn was wrong here. You actually can search events by city.
With a simple graph api search like this: search?q=cityname&type=event
It will search all the event names with that city name in it.
But keep in mind that not all the events are displayed there. You could also do what #luschn recommended but it will take a lot of time to go through all the pages and their events.
If you're trying to build an app that would show nearest events then it's pointless. Theres one website (https://www.minek.ee/tartu). It's in my mother tongue but you can use the search to search events outside of Estonia. I bet that this website uses the same tactic to fetch the events but they are doing the fetching in background while displaying you all the fetched events one by one.
Still, this app doesn't have much traffic so i think there's no point to build anything like this because people really aren't interested in this. I know that i shouldn't give out opinions but i'm pretty sure that building this is just waste of time. Why?? Because i've already built one and it wasn't worth the time.

Magento communicating with another system

I'm building a magento (1.9CE) store which needs to interface with another system and I could use some guidance.
Although not particularly relevant, I'm communicating with the 'other' system using web services (it's on another server) but what I need help with is finding the places where I need to put in code to do what I want.
There are three major functions that I need to implement:-
When a user clicks on the product detail page I need to make a call to check the stock levels on the other system, update the magento stock levels and THEN display the product detail page.
When a sale is completed, I need to send details of that sale to the other system.
When a new product is added I need to communicate with the other system. This may be a bit more complex because there are a few checks I need to do during the 'add product' process, for example, check the SKU is valid, that tghe product doesn't already exists, etc. I think until I start coding this I shan't realise the full extent of this functionality!
Any guidance gratefully received!
Even though this might (and probably will) dramatically slow down your store, if you want real-time information, I guess the easiest way would be with observers.
You can use catalog_controller_product_init_before: This will trigger when the product detail page is starting loading, so you should be able to upload the stock at this point, before the page has finished loading, so that if there is no stock it will not be buyable, which I guess that's what you want.
You can use sales_order_place_after: This will be triggered after a new order has been placed and saved in the database.
You can use catalog_product_new_action or catalog_product_save_after: Depending on how you create your products the first one might not be triggered. The second one will always be triggered once a product (new or existing) has been saved, so at this point you will need to check if the product is new or existing, and do your stuff depending on that.
For an example of how to create an extension and usage of observer events, check this out.
I hope it helps!

Unlimited number of checkboxes

I wonder how to create mechanism which create new checkbox below previous when you click on button. Number of checkboxes are unlimited.
I don't think that table of objects work well, so I think about implementation in list of objects.
Any suggestions?
Here is what I would do:
Create an event for clicking that button (let's call it OnBtnClick)
Use a vector/list to hold all the checkboxes
When OnBtnClick is called you do:
create a checkbox with the desired position and size and make sure it receives an unique id (this will help you differentiate between checkboxes when they are clicked/checked/etc).
add the checkbox to the list (to get its status: checked or not checked)
add the checkbox to the desired window, the parent window (though this may happen automatically when you create it)
if you want to add an event for the added checkbox you should check the manual of your GUI framework (you will probably use the same event handler for all checkboxes and treat them separately based on their id)
Depending on the GUI framework used the bottom details may vary but the idea remains the same. I did this with wxWidgets, QT and MFC but I don't know which framework you use. You should be able to find code samples for each framework.
What would you do with unlimited number of check boxes - confuse the user? So, that he/she wouldn't attempt to use it again? Bad idea, as you can guess now.
You may (should) limit the number of check boxes (or better, limit the number of controls on form/dialog). IMO, more than 10-12 CBs would be cumbersome for the end user. Therefore, better idea is to have all of them on dialog/dialog-resource, and make all of them invisible/disabled. When user does some action, make them visible/enabled - so that end user may do something with it.
Still demand N number of CBs, where N is not determined beforehand? Then you may have checkboxes under Combo box, or use check-boxes under List Control. List Control already hosts this feature, but for CBs under Combo, you may need to write your own class.See this article as an example.