ticketID vs ticket numer

Hi, We're tracking down some bugs in an application we've made which talks to OTRS via SOAP (mainly creates tickets). Anyway, I have one problem or question: We need to create a link in our webbased system that when clicked it will open the OTRS ticket, just like OTRS Notification Master email link, IE. http://some.host.com/otrs/index.pl?Action=AgentTicketZoom;TicketID=5625http://helpdesk.filmtek.no/otrs/index.pl?Action=AgentTicketZoom;TicketID=562... What's the relationsship between TicketID=5625 and ticketnumber #2012060610000044 ? How do we get the correct TicketID number? Thanks! Andy

Am 06.06.2012 10:15, schrieb Andy Wodfer:
Hi, We're tracking down some bugs in an application we've made which talks to OTRS via SOAP (mainly creates tickets).
Anyway, I have one problem or question:
We need to create a link in our webbased system that when clicked it will open the OTRS ticket, just like OTRS Notification Master email link, IE.
http://some.host.com/otrs/index.pl?Action=AgentTicketZoom;TicketID=5625 http://helpdesk.filmtek.no/otrs/index.pl?Action=AgentTicketZoom;TicketID=562...
What's the relationsship between TicketID=5625 and ticketnumber #2012060610000044 ?
How do we get the correct TicketID number?
have a look at the "ticket" table on the OTRS database. The "id" field stores the ticketID and the "tn" the ticketnumber. it's a 1:1 relationship so you can pull this out of the database easily. Regards, BB -- THE video player for the web: http://flowplayer.org

Thanks!
Can I just as well use:
http://some.domain.com/otrs/index.pl?Action=AgentTicketZoom;TicketNumber=201...http://helpdesk.filmtek.no/otrs/index.pl?Action=AgentTicketZoom;TicketNumber...
which seems to work just the same?
Cheers,
Andy
On Wed, Jun 6, 2012 at 10:28 AM, Bernd Backhaus
Am 06.06.2012 10:15, schrieb Andy Wodfer:
Hi, We're tracking down some bugs in an application we've made which talks to OTRS via SOAP (mainly creates tickets).
Anyway, I have one problem or question:
We need to create a link in our webbased system that when clicked it will open the OTRS ticket, just like OTRS Notification Master email link, IE.
http://some.host.com/otrs/index.pl?Action=AgentTicketZoom;TicketID=5625http://helpdesk.filmtek.no/otrs/index.pl?Action=AgentTicketZoom;TicketID=562...
What's the relationsship between TicketID=5625 and ticketnumber #2012060610000044 ?
How do we get the correct TicketID number?
have a look at the "ticket" table on the OTRS database. The "id" field stores the ticketID and the "tn" the ticketnumber. it's a 1:1 relationship so you can pull this out of the database easily.
Regards,
BB --
THE video player for the web: http://flowplayer.org
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Am 06.06.2012 10:37, schrieb Andy Wodfer:
Thanks!
Can I just as well use:
http://some.domain.com/otrs/index.pl?Action=AgentTicketZoom;TicketNumber=201... http://helpdesk.filmtek.no/otrs/index.pl?Action=AgentTicketZoom;TicketNumber...
which seems to work just the same?
Cheers, Andy
well it seems to work :) If no one comes up with any concerns regarding this, I'd say go for it.

Hi,
On Wed, Jun 6, 2012 at 10:41 AM, Bernd Backhaus
Can I just as well use:
http://some.domain.com/otrs/index.pl?Action=AgentTicketZoom;TicketNumber=201...
which seems to work just the same?
<snip>
well it seems to work :)
If no one comes up with any concerns regarding this, I'd say go for it.
Yes, that is absolutely valid use, that URL will work just fine! The customer interface in 3.1 already uses these 'friendly' URLs everywhere instead of the internal Ticket ID. -- Mike

Great! Thanks for your help.
I just upgraded from 2.4.7 to 3.0.15. Next up is an upgrade to 3.1.x
Cheers,
Andy
On Wed, Jun 6, 2012 at 1:16 PM, Michiel Beijen
Hi,
On Wed, Jun 6, 2012 at 10:41 AM, Bernd Backhaus
wrote: Can I just as well use:
http://some.domain.com/otrs/index.pl?Action=AgentTicketZoom;TicketNumber=201...
which seems to work just the same?
<snip>
well it seems to work :)
If no one comes up with any concerns regarding this, I'd say go for it.
Yes, that is absolutely valid use, that URL will work just fine! The customer interface in 3.1 already uses these 'friendly' URLs everywhere instead of the internal Ticket ID. -- Mike --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
participants (3)
-
Andy Wodfer
-
Bernd Backhaus
-
Michiel Beijen