Discourse Assign

:discourse2: Summary Discourse Assign provides the ability to assign topics and individual posts (both private and public) to a user or group.
:open_book: Install Guide This plugin is bundled with Discourse core. There is no need to install the plugin separately.

Features

Discourse Assign adds a “tag like” annotation on the topic list and topic header with the username of the assigned user.

It allows you to assign topics to users and list all of the assigned topics.

Also, user groups can be assigned to the topic. In that case, each group member will receive a notification. In group Interaction configuration, you can specify Who can assign this group. By default, is it set to nobody.


In addition to assign to specific topic, individual post can be assigned as well. This option is hidden under “…” (show more) post toolbar. When a post is assigned, information about that is included in the topic title. Also, first post contain link to assigned post.

Assignments can also (optionally) be associated with customizable statuses, and will track changes to their statuses in small_action posts.

Configuration

Site Settings

  • assigns by staff mention if you would like mentions by a staff member of another staff member to assign a topic select this

  • unassign creates tracking post: out of the box when you unassign a topic a post is created in the stream to keep track of the fact it was unassigned, disable to remove the tracking post

  • assigns public : out of the box all assignments are hidden from non-staff, if you want non-staff to be able to see who owns which topic, enable this setting.

  • assign self regex if you would like to use a magic phrase to assign stuff to yourself add a regex here

  • assign other regex if you would like to restrict it so only mentions with a particular phrase are assigned to others add something here

  • unassign on close if a topic is closed it will automatically be silently unassigned

  • unassign on group archive when a message is archived unassign it, once it moves back to inbox reassign it.

  • reassign on open When a topic is opened reassign previously assigned users/groups
  • assigns user url path template to path that is used as a hyperlink for any user assigned tags.
  • assign mailer When to send notification email for assignments

  • remind assigns frequency` Frequency for reminding users about assigned topics.

  • max assigned topics Maximum number of topics that can be assigned to a user.

  • assign allowed on groups controls the list of groups you can assign to. When a topic is assigned to a group it shows up in the individual assign list for all group members. They are notified when this assignment happens.

  • enable assign status Add a customizable status field to every assignment.

  • assign statuses is a list of statuses available to each assignment. The first status is the default status applied to every new assignment.

Listing assigned topics

There are 2 ways of viewing assigned topics,

  • In topic list format:

    • https://sitename.com/latest?assigned=username to view all assigned topics for a user
    • https://sitename.com/latest?assigned=* to view all assigned topics for all users
    • https://sitename.com/latest?assigned=me to view all assigned to current user
    • https://sitename.com/latest?assigned=nobody to view all unassigned
  • The user page activity there is an extra assigned tab visible to staff on activity and messages tabs

CHANGELOG

TODO

  • Keyboard shortcuts

Thank you to McNeel for sponsoring this work!

Last edited by @tobiaseigen 2025-07-16T20:52:51Z

Check documentPerform check on document:
57 Mi Piace

Questo non sembra funzionare al momento. Se faccio parte del gruppo A e qualcuno assegna il gruppo A a un argomento, questo non mi compare quando visito /latest?assigned=me.

1 Mi Piace

Ciao Kuba. :wave:

Questo è un filtro nella pagina latest. La "lista individuale assegnata" menzionata si trova in /my/activity/assigned. :+1:

Grazie! C’è un motivo specifico per cui quei due filtri si comportano in modo diverso? :thinking:

1 Mi Piace

C’è un modo per configurare l’ora delle notifiche ricorrenti?

AGGIORNAMENTO: Quando un argomento viene assegnato a un gruppo, gli utenti del gruppo non ricevono notifiche via email. È corretto? Mi aspettavo che gli utenti ricevessero un’email + email ricorrenti (ogni giorno, ogni settimana) come per un assegnatario singolo.

2 Mi Piace

2 post sono stati divisi in un nuovo argomento: Le assegnazioni possono essere rimosse quando un argomento è risolto?

Mi dispiace se è già stato menzionato (non sono riuscito a trovarlo).

I membri non staff possono usare questo plugin per assegnare? Non sono riuscito a far funzionare questo plugin anche se l’utente è moderatore. L’utente deve essere amministratore.

Il mio caso d’uso: un caposquadra (non staff/non admin) scrive un argomento e lo assegna a un membro del team (utente TL0-3). Il caposquadra non è necessariamente l’amministratore del sito o lo staff per il forum di Discourse perché abbiamo molti capisquadra.

Sarebbe utile anche se potessi rendere il caposquadra un moderatore e far funzionare questo plugin.

Grazie e apprezzo!

Impostare assign allowed on groups non farebbe proprio questo?

Ciao @Jagster,

Ho impostato assegna consentito ai gruppi su tutti

Ad esempio, i permessi di questo utente sono:

Ma questo utente non è in grado di vedere il pulsante assegna

A volte “tutti” non funziona. Hai provato invece trust_level_0?

3 Mi Piace

Solo una nota veloce: il pulsante Assegna apparirà come opzione separata negli argomenti/post e non sarà sotto il menu :wrench: :slight_smile:

L’ho appena testato da parte mia su un account TL3 impostato nelle seguenti condizioni e ho ottenuto questi risultati:

Utente TL3 con permesso everyone

Stesso problema di @carlito, l’opzione non compare.


Utente TL3 con permesso trust_level_0

Questo funziona come previsto.

Quindi… detto questo, dovresti impostare trust_level_0 come suggerito da @Moin. Penso che ci si aspetterebbe che funzioni altrimenti se si selezionasse everyone, quindi forse questo è un bug?

3 Mi Piace

@Moin e @HamMan2118

Fantastico, ha funzionato!

Grazie a entrambi!

2 Mi Piace

Come posso trovare e modificare il modello di email che viene inviato quando qualcuno viene assegnato? Non esiste insieme agli altri modelli di email?

Questo?\n

\n\nPuoi trovarlo in Admin > Testi del sito. Ho cercato assign_mailer, che restituisce il titolo (assign_mailer.subject_template) e il testo del corpo (assign_mailer.text_body_template).

2 Mi Piace

Sì, è corretto, grazie!!

3 Mi Piace

Dove nell’interfaccia utente viene visualizzato lo stato?

Vedo a chi è assegnato un argomento, ma non vedo alcun modo per dire qual è il suo stato attuale.

@tknospdr Hai visto questa parte?

Sì, ma quello appare solo dopo aver apportato una modifica. Non c’è alcuna indicazione visiva che sia stato assegnato uno stato, finché non lo si cambia da X a Y.

Puoi vedere lo stato attuale se vai alla scheda ‘Modifica incarico’, sotto il pulsante ‘Assegna’.

Intendi “Modifica incarichi” che è nascosto dietro il pulsante che dice “Rimuovi incarico…”

Se non voglio rimuovere l’incarico, esiterei a fare clic su quel pulsante, giusto?

  1. È poco intuitivo.
  2. Stai dicendo che non pensi che un indizio visivo per farti sapere qual è lo stato assegnato di un argomento sia ben visibile sia una buona idea?

Semplicemente non riesco a immaginare che sia una richiesta complessa dal punto di vista del codice, e ha senso averla ben visibile.

3 Mi Piace