Display ChangeID column in Change Overview, etc.?

Moderator: crythias

Locked
MarkR
Znuny newbie
Posts: 2
Joined: 13 Jul 2015, 13:02
Znuny Version: OTRS 4 Patch Level 9
Real Name: Mark R

Display ChangeID column in Change Overview, etc.?

Post by MarkR »

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.
RStraub
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.?

Post by RStraub »

Taken there nothin in SysConfig (I didn't check) you could copy and modify the overview template:

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
https://github.com/OTRS/ITSMChangeManag ... ll.tt#L171
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Locked