Plugin التذاكر 🎟

المستودع

https://github.com/paviliondev/discourse-tickets

الملخص

تضيف هذه الإضافة نظام تذاكر إلى Discourse. يتطلب تفعيل الوسوم (Tagging) ويعمل بشكل أفضل جنبًا إلى جنب مع إضافة التعيين (Assign Plugin).

يعتمد هذا المشروع على المواصفات الأصلية التي وضعها @tobiaseigen، وقد تم بناؤه بالتعاون مع @tobiaseigen وفريق رائع من Ruby for Good، لصالح كل من Namati ومجتمع Discourse.

ملاحظات

  • عند تثبيت الإضافة، يتم إضافة ثلاث مجموعات وسوم جديدة وهي tickets_priority و tickets_reason و tickets_status. أضف وسومًا إلى هذه المجموعات (في /tag_groups) لتعيين التذاكر لكل نوع من أنواع التذاكر.

  • تُضاف التذاكر عبر واجهة المستخدم الخاصة بـ ‘تعديل الموضوع’ (انظر لقطة الشاشة أدناه).

  • يمكنك إنشاء مواضيع أو رسائل خاصة (PMs) تحتوي على تذاكر عبر واجهة البرمجة (API) باستخدام is_ticket و tags[] لكل وسم من وسوم التذكرة (تعرف على المزيد).

  • هناك أربع إعدادات للموقع تحتاج إلى مراجعتها. للوصول السريع، انتقل إلى ADMIN > SETTINGS في نسختك وابحث عن tickets.

    • tickets enabled: تمكين التذاكر في المواضيع (يتطلب تفعيل الوسوم).

    • tickets icon: تعيين فئة Font Awesome لأيقونة التذاكر.

    • tickets include group: المجموعة الافتراضية التي سيتم تضمينها في الرسائل الخاصة التي تحتوي على تذاكر (في منتدى الشبكة العالمية للتمكين القانوني، تكون هذه المجموعة helpdesk).

    • tickets redirect assigned: يعيد توجيه المستخدم من مسار ‘المواضيع المعينة’ في ملفه الشخصي إلى لوحة تحكم التذاكر المفلترة حسب التذاكر المعينة له.

    • يجب تفعيل allow staff to tag pms إذا كنت ترغب في استخدام التذاكر في الرسائل الخاصة.

لوحة تحكم التذاكر

الموضوع

انقر فوق أيقونة القلم بالقرب من العنوان لتعديل بيانات الموضوع (Topic meta)، والتي تظهر كما يلي:

قائمة المواضيع

0fc9e08ad8fcf222fdc4c5f839162559363419ad

قائمة المهام

تجمع هذه القائمة تقارير الأخطاء وطلبات الميزات التي ظهرت في هذا النقاش أدناه، وكذلك في الاستخدام النشط لهذه الإضافة من قِبَل @tobiaseigen وزملائه في الشبكة العالمية للتمكين القانوني. وافق @angus على تخصيص بعض الوقت بانتظام لمحاولة تقليص هذه القائمة عبر https://discourse.angusmcleod.com.au/c/work/l/agenda، لكنه دائمًا ما يحتاج إلى مساعدة! :seedling:

الأخطاء:

  1. يبدو أن الرابط المختطف إلى التذاكر المعينة للمستخدم لا يعمل للأسماء التي تحتوي على أحرف كبيرة وصغيرة مختلطة.
  2. ظهور وسوم التذاكر في عرض الطباعة، حتى لأولئك الذين ليس لديهم حق الوصول إلى نظام التذاكر.

الميزات التي نود إضافتها:

  1. إضافة إمكانية الإشارة إلى المستخدم (أو المستخدمين) الذي تتعلق به التذكرة.
  2. إضافة أعمدة في لوحة تحكم التذاكر لتاريخ إنشاء التذكرة وتاريخ آخر نشاط.
  3. استخدام :mag: البحث في لوحة تحكم التذاكر للسماح بالبحث عن التذاكر باستخدام الكلمات المفتاحية.
  4. إعادة تصميم فلترة/ترتيب/تقسيم لوحة تحكم التذاكر.
  5. إضافة فلاتر افتراضية وخيارات في لوحة تحكم التذاكر لعرض التذاكر المعينة لي فقط أو التذاكر المفتوحة فقط بسرعة.
  6. إضافة إمكانية مراقبة الصحة العامة لنظام التذاكر (وقت الحل، التذاكر المفتوحة، إلخ).
  7. (أولوية منخفضة) إضافة زر “الإعدادات” في /admin/plugins (التفاصيل).
  8. (أولوية منخفضة) السماح بإعادة تسمية نظام التذاكر ومجموعات وسوم التذاكر (تم طلبه بواسطة @GeertClaes).

ميزات مطلوبة ذات أولوية منخفضة/صعبة/من المرجح عدم إضافتها:

  • إضافة خيارات TICKET إلى قائمة الموضوع في الأسفل بالإضافة إلى تعديل عنوان الموضوع.
  • إشعار المستخدم بعدد التذاكر المفتوحة المعينة له في كل مرة يسجل فيها الدخول.
  • رسائل النظام المؤتمتة تكون دائمًا تذاكر مُعلَّمة بـ “منخفض” أو “في الانتظار”.
  • تُرسل رسائل التذاكر الخاصة (ticket PMs) إلى أرشيف الرسائل الجماعية افتراضيًا حتى لا تزدحم صندوق الوارد للرسائل الجماعية.
  • عادةً عند إنشاء تذكرة، نقوم بتعيين وسم الحالة إلى #waiting. إذا كان هناك طريقة لتغيير هذه الحالة إلى #underway عندما يرد شخص ما، فسيكون ذلك مساعدًا كبيرًا… إذا لم يكن ذلك ممكنًا، يمكننا الاعتماد على لوحة تحكم التذاكر إذا أظهرت نشاطًا لنعرف أن شخصًا ما قد رد ويتطلب منا اتخاذ إجراء.
  • لأغراض الشفافية، سيكون من المثير للاهتمام الإشارة في رسالة سرية (whisper) عند إضافة وسوم التذاكر أو تغييرها، تبعًا لسلوك الإضافة (Assign).
  • في واجهة العلم (flag interface)، من الممكن للمراقبين “المطالبة” بالرسائل العشوائية (spam). ربما يكون هذا نموذجًا يمكننا اتباعه للتذاكر؟ هذا سيسرع الأمور - حاليًا، سير العمل هو إلغاء التعيين ثم التعيين.

وظائف أخرى في Discourse ستساعد

  • التحديد الجماعي وتحديث أولوية التذكرة، وحالتها، وسببها، ومجموعتها، والمُعيَّن (إذا لم يكن ذلك متاحًا في واجهة المستخدم، فهل يمكن عبر أوامر سطر الأوامر؟).
77 إعجابًا
Discourse Mingle
Kanban Board Overlay for Discourse Topics
Assign topics or messages when created via API
Customize hamburger menu to add switch what switches theme and applies predefiend filter
2018: The Year in Review
Replacing Slack by Discourse
How do you create a table of content like this one?
Feature idea: allow groups to send messages, or include a specific group in all messages to specific username
`enable_forwarded_emails` doesn't behave like conventional email forwarding
Best "Support" Option Other Than Email?
Adding 'in progress' states to Voting topics
Using discourse as a community ticket system
Relevant reports for Discourse as a ticket system?
[Error] Can't create a tag on post due to Tickets plugin
Feedback form / reporting bugs
Allowing topic creation through direct delivery email in makes my forum vulnerable to spammers
Different themes per category?
Unable to View Edit History - Continuous Loading Issue
View tag changes
Reply-via-email to another address
What problems do you have when using Discourse?
(Superseded) Add a custom fontawesome icon and color to your tag
Replacing Slack by Discourse
Moderating the forum
Follow up "open" tickets
Escalating and Deescalating w a Ticket System
Advise on how to organize my forum categories and tags
Comment on a question instead of answering it
Multiple monthly notification for assigned topics
Regarding possibility to use Discourse as an alternative to JIRA or Zendesk
Settings in Discourse
Issue Tracker for Discourse

Awesome! So glad to see this ticket plugin become a reality. Angus has done some terrific work here, and has been very patient with my feature requests and feedback. He deserves a medal. :1st_place_medal:

I hope more communities decide to use this plugin, and help to make it even better by contributing use cases, feedback and code. I am also hoping to see some improvements to other discourse features to make tickets even more awesome.

We’ve been using it on our site for a few weeks already and it works well, though I have yet to properly roll it out to my team. As that happens I’ll be able to give more feedback on what’s working and what needs improvements from our point of view.

For right now, here’s my wish list:

  • improved functionality on topic and message lists for selecting and bulk updating, to e.g. change category, add/remove tags, create ticket, mark solved, open/close, reassign, change priority, change status, etc. (discussed elsewhere)
  • solved plugin: Allow staff to select OP to be solution, if no replies.
  • solved plugin: Prevent staff from selecting whispered replies as solution, as risks exposing private conversation. (discussed elsewhere)
  • “ticket system heath” statistics, e.g. number of tickets by status, time to completion, ratio of tickets by status, charts showing above over time. Not sure where this should live - is the dashboard extendable through plugins?
  • automatic ticket updates when reply is sent (e.g. change status tag to waiting/underway, add reminder for assignee with interval based on priority, etc)
  • automatic assignee based on ticket reason
  • automatic tickets based on group or group email
  • automatic solved/unsolved based on ticket status
  • default filters and options on dashboard to more quickly see only tickets assigned to me, or only open tickets etc.
  • not directly related but a common ticket task for our helpdesk: UI method for merging users, with ability to choose which email address is primary and which is secondary. (discussed elsewhere)

In case you’re wondering, here are some notes on the api method we use for creating tickets. We use it to create a new ticket for each new member as they join, for the purposes of onboarding and welcoming them, and when reaching out to members for feedback when they download resources from our resource library. We also use it when inviting lists of people (e.g. event attendees) to join the network, instead of email.

  • is_ticket = 1
  • tags[] = tag1 each on a separate line, use ticket tags and any additional tags to help find messages later (note square brackets - required!)
  • target_usernames = should always contain helpdesk group accessible to the staff in charge of ticket follow-up. Can contain an email address instead of username to create staged users (handy for sending bulk invites and making them tickets for follow-up)
12 إعجابًا

Agreed I should have started with that :slight_smile: This looks very promising, and your wish list contains several things that I’d probably get to if we get to use this properly here

3 إعجابات

I am super excited to see this. I currently have my own custom made (mock) ticketing system. It basically converts any PM into a ticket upon user request, adds a ticket number, organizes all tickets under a custom appointed user (@TICKETS) for easier tracking, and notifies admins. We do tagging/assign via discourse options. But this is more elaborate, if you keep developing this I will jump in and try it out :smiley:

إعجاب واحد (1)

Interesting! It sounds like you’ve got a “support” use case there, letting a user create a ticket. This system was designed more for internal use for managing tasks and assignments. @tobiaseigen What do you think about allowing users to create tickets?

3 إعجابات

Our site is a marketplace. Tickets are used between users for managing transactions. Basically, user A strikes a deal with user B via PM. When ready, they click a button converting the PM into a ticket. The PM is assigned a ticket number, and admins are notified. The first one to assign it to him self gets it and manages the transaction.

إعجابَين (2)

Do you mean allow users to see and use the tickets interface and see ticket tags on tickets? And see the tickets dashboard?

I can see a use case for it, and also can see it maybe being useful in our community. Assigned and solved is already visible to users. Letting them see the ticket details about their tickets is potentially interesting. But I don’t see the need to let them change ticket tags.

If you just mean letting users create tickets but then not see the ticket interface, ticket tags and ticket dashboard, maybe there is a use case for this too. The API can already make tickets while adding messages, so an external form could do it. Maybe a new group setting could enable auto tickets with default ticket status, priority and reason. E.g. include @tickets and the message is made into a ticket.

3 إعجابات

No. The tickets are basically PM’s with an edited title (the includes the ticket number). The tickets are accessible from users inbox.

Interesting. Can you share a screenshot of what your tickets look like? Generally, if you have screenshots that illustrate what you are doing I think that would help us to understand your need better and if/how it fits in with this plugin.

Ticket number: I guess the ticket number could just be the topic ID. Displaying that would be easy, I suspect. I also agree displaying a ticket number would be helpful, as well as in any email notifications about the ticket in the subject line etc. The ability to search by ticket number on the tickets dashboard might also be helpful. But again this is for a different use case than yours… more of a helpdesk need for quickly finding a ticket, for example when talking on the phone with someone about their ticket.

This already works - messages that are tickets appear in user inboxes. They are identifiable with tags in the message list. So if users had access to tickets, they’d be able to see the ticket tags. They could also click through to the tickets dashboard, to see only their tickets, which I think would also be handy for them.

@angus I remember when we made a strategic decision to put tickets in the /admin/tickets route instead of /tickets. I guess if giving users access to tickets were to become a thing, we’d want to move it.

إعجاب واحد (1)

Here are all tickets organized for staff under an account of our choosing, in this case, @CHECKOUT

Here is what the ticket looks like inside. Included in the screenshot it an automated message from @CHECKOUT to the users when they start a ticket.

إعجاب واحد (1)

It’s kind of a crude system, but it works :smiley: However, once (if) traffic picks up we will need a more refined ticket system.

We’re talking reminders/performance reports/sorting/etc. Basically, the basics of a good ticketing system.

إعجاب واحد (1)

Much of what you are describing is available through this plugin or could be. I think @angus would welcome your contributions to this plugin. I know one area we want to prioritize next is performance reports (I was calling it ticket system health) which is described above somewhere.

Another is functionality for bulk updating tickets from filtered lists. This is still fairly nascent in discourse. But as the number of tickets grows it will be needed.

إعجاب واحد (1)

I mainly need this feature to award admins for their work, vs. using it to measure actual response times/etc. (although that is useful info, also). Our site pools all the income and splits the profit among admins. Obviously, who works more gets a bigger share.

3 إعجابات

Thanks to the great work of @mbcahyono we’ve upgraded our (mock) ticket plugin. It now features site-wide notifications for open tickets, and a dedicated ticket area for ticket holders.

3 إعجابات

Nice! I like the use of a notification about open tickets. Seems to me this should be a proper discourse notification though. Also, it would be handy to have a quick link to display only open tickets on the dashboard.

We also have it as a notification, but we’ve encountered “oh I must of missed it” and “it got lost with other notifications” responses from users, who neglected open tickets because of those reasons. So, that’s why we have a site-wide banner. We do three way tickets, so to keep the other party waiting to a minimum, we remind users about their tickets in a bold way :smiley:

إعجابَين (2)

Is there a way to share that modification? I would really love to have it within my customer support system running on Discourse. :slight_smile:

3 إعجابات

I like this feature. I will use it when building my own Discourse. :slight_smile:

The support system I have isn’t the one listed here, it’s a custom made plugin just for my website, so there is no modification to share.

I’m not sure if I’m missing something, but this doesn’t seem to be working for me, I’ll list what isn’t working right for me.

  • The redirect to the ticket dashboard doesn’t seem to follow caps cases; it takes me to admin/tickets?filters=assigned%3Akankuro instead of admin/tickets?filters=assigned%3AKankuro which results in no tickets being shown.
  • The tags don’t stick for any of the fields after refreshing or changing pages.
  • I’m not getting any sort of PM or notification to tell when there is a new ticket, not sure if this is intentional or if there is supposed to be some sort of alert to let people know when they have a new ticket.

All I’ve done is installed the plugin, enabled it, added tags to the tag groups, and created a new group with all mods called “helpdesk” and added that to tickets include group.

Any ideas what might be going wrong here?

4 إعجابات