I often find myself copying the ticket number to paste in various different places, and thought that it might be nice to add some small functionality to copy the ticket number with one click.
Basically, clicking the Ticket# would copy it into your clipboard and give some small visual feedback similar as above.
This could for example also make merging tickets inside of Zammad simpler by switching between tabs or linking them without having to read the recently viewed tickets again.
If deemed useful I’d be interested in trying to implement this functionality and provide a pull request.
March 31, 2022, 6:50am
Yes I’d really like that and if possible it should be copied to the clipboard as plain text without formatting. I have to copy this information daily and it’s always a hassle.
A workaround keyboard wise would be [CTRL][SHIFT] + [.] (1 - 3 times depending on how much you need)
March 31, 2022, 8:37am
Oh I totally forgot about that, thanks for pointing it out.
Created a pull request with this functionality:
02:44PM - 31 Mar 22 UTC
I've added a small functionality to copy Ticket# as described
… this [community post](https://community.zammad.org/t/easy-way-to-copy-ticket-with-a-single-click/8986).
![Peek 2022-03-31 16-40](https://user-images.githubusercontent.com/6693160/161082095-ac5ed24b-f189-41c2-9195-a67f77e771dd.gif)
I’ve noticed it is actually not possible to merge a ticket by entering “Ticket# <number>”, it only works when entering the number by itself. Would be nice if this could be adjusted, but maybe there are some potential complications when changing this with custom Ticket hooks.
Looks like we’re gonna be seeing this in 5.3, very nice.
Hopefully I can find some time to look into the ticket search for merges to too work with the ticket hook Infront of it, as I feel it would make sense to work, if it hasn’t been tackled yet.
Edit: Looks like it’s been already done, you can paste a full ticket hook and it will turn it into being just a number!
A feature which could very much facilitate the situation with the merge and link dialogues has been requested in
Feature: Allow searching for ticket title in Link dialogue (instead of only ticket #). You might give this request some likes
Looks like I semi-duplicated that feature request by accident then in
Be able to merge by full ticket hook, not just ticket number.