zammad icon indicating copy to clipboard operation
zammad copied to clipboard

Fixed 209 in the feature requests in the forum

Open MauritzFunke opened this issue 1 year ago • 12 comments

Maybe some help needed with tests. I already added a feature request in the community forum but its still pending. It has the id 209

MauritzFunke avatar Jul 09 '24 08:07 MauritzFunke

Here is the feature request https://community.zammad.org/t/add-created-at-filter-to-articles/14892/1

MauritzFunke avatar Jul 09 '24 10:07 MauritzFunke

@rolfschmidt Maybe some thought if this is a good idea?

dominikklein avatar Aug 12 '24 08:08 dominikklein

@martini What do you think about such a change?

dominikklein avatar Aug 28 '24 07:08 dominikklein

I've a feeling such change would be confusing and have unexpected results. This may open a pandora box of querying among ticket articles in a single ticket. Or we could hide this behind a flag for people who know what they're doing.

I'm not sure about the use case mentioned in the community. IIRC Overviews show all timeunits in a ticket during it's lifetime. Not timeunits on a given day. While such overview would fetch tickets touched in a given day. It'd show time units logged in other days too.

Listing time units in a specific day is definitely an important metric though.

mantas avatar Sep 02 '24 07:09 mantas

When we don't see any use case we should close this idea or? :-) @YetAnotherGerrit Don't know if this is something you heard already before about.

dominikklein avatar Jan 24 '25 11:01 dominikklein

The use case is to see accounted time per day (at least that's what I understand is the ultimate goal), however, searching articles based on their created_at does not accomplish this. Accounted times are not part of articles and thus I'd say this PR does not "close" the FR mentioned above.

MrGeneration avatar Jan 24 '25 11:01 MrGeneration

Accounted time should be part of articles. But that is a much more complex task to achieve in the future. I don't understand the value of this MR. Does this add 3 new attributes to the search index?

YetAnotherGerrit avatar Feb 10 '25 18:02 YetAnotherGerrit

@MauritzFunke Maybe some additional input from your side, otherwise we would close the PR for now.

dominikklein avatar Apr 06 '25 19:04 dominikklein

Sorry for the late reply, the goal would be to get metrics about the time used on tickets per user and other metrics to somewhat monitor productivity.

MauritzFunke avatar May 12 '25 12:05 MauritzFunke

But these attributes are available in the elasticsearch index and thus can be used with e.g. Grafana...? Our default example dashboards use these actually....

https://docs.zammad.org/en/latest/appendix/reporting-tools-thirdparty.html

MrGeneration avatar May 12 '25 12:05 MrGeneration

Last time I looked I either overlooked the reporting tools section or it wasn't there

The metric I'm trying to get is time accounted per agent per month. Previously I had the issue with tickets with overlapping months:

27.04.2025: Customer creates ticket 28.04.2025: Agent does step 1-2 needed to solve the ticket but needs input from customer (2 hours) 02.05.2025: Customer answers 02.05.2025: Agent does final steps to solve ticket (1 hour)

Searching for the ticket shows the time units in April but the last article is in May and should be accounted for in May.

If I look correctly in the documentation there is no search index for time units in articles.

Edit: If I see correctly, articles also include the information. I'll try to get the information I need and reply if there are some unexpected issues

MauritzFunke avatar May 12 '25 12:05 MauritzFunke

image

ticket articles have nothing to do with time tracking functionality at all. At least not attribute wise.

MrGeneration avatar May 12 '25 12:05 MrGeneration

Thanks for the contribution idea.

I think currently there is no plan to merge this and seems to be it's solvable with an external reporting tool like Grafana.

dominikklein avatar Jun 18 '25 08:06 dominikklein