Instead of using the very long TicketNumber and ChangeNumber (e.g., "2015070251000048") my team would prefer the much shorter TicketID and ChangeID (e.g., "237") in the various Ticket and Change views.
In Admin->SysConfig I have added a TicketID column to the Tickets QueueView, ServiceView, Dashboard, etc. by adding a new Key "TicketID" to element Ticket::Frontend::AgentTicketQueue###DefaultColumns in subgroup Frontend::Agent::Ticket::ViewQueue. This works well.
However, I can't find a similar solution to add a ChangeID column to the Changes->Overview screen!
I have tried to add a new key "ChangeID" to element ITSMChange::Frontend::AgentITSMChange###ShowColumns in subgroup Frontend::Agent::ViewChangeOverview but this hasn't worked.
Change notification templates show a ChangeID field so it must exist in OTRS but I can't find a solution. Can anyone please advise me on how this can be done? I'm using OTRS 4.0.7.
Many thanks.
Display ChangeID column in Change Overview, etc.?
Moderator: crythias
-
- Znuny guru
- Posts: 2210
- Joined: 13 Mar 2014, 09:16
- Znuny Version: 6.0.14
- Real Name: Rolf Straub
Re: Display ChangeID column in Change Overview, etc.?
Taken there nothin in SysConfig (I didn't check) you could copy and modify the overview template:
https://github.com/OTRS/ITSMChangeManag ... ll.tt#L171
Code: Select all
cp -p ~otrs/Kernel/Output/HTML/Standard/AgentITSMChangeOverviewSmall.tt ~otrs/Custom/Kernel/Output/HTML/Standard/
edit line 172 from Data.ChangeNumber to Data.ChangeID
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS