OTRS 3.1.5 where is the link ticket-Dynamic Fields

Moderator: crythias

Locked
StefanoBoccanera
Znuny newbie
Posts: 76
Joined: 23 Feb 2011, 15:43
Znuny Version: 3.1.5
Real Name: Stefano Boccanera
Company: I.Conseils (self-employee)
Location: Rome (Italy)

OTRS 3.1.5 where is the link ticket-Dynamic Fields

Post by StefanoBoccanera »

Hi
I migrated from otrs 3.0.9 to 3.1.5.
All sounds fine, after I migrated the DB (postgres 8.4), but I didn't find how the ticket are linked to the dynamic fields created.
This information is viatl for me, because I have many automated reports using specific sql select. So before to migrate the production installation I have to modify any
select to output the right informations.

best regards
Stefano Boccanera

OTRS : 3.1.5
ITSM : 3.1
S.O : RH
RDBMS : Postgres
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS 3.1.5 where is the link ticket-Dynamic Fields

Post by jojo »

have a look at the database structure provided in the doc folder
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
StefanoBoccanera
Znuny newbie
Posts: 76
Joined: 23 Feb 2011, 15:43
Znuny Version: 3.1.5
Real Name: Stefano Boccanera
Company: I.Conseils (self-employee)
Location: Rome (Italy)

Re: OTRS 3.1.5 where is the link ticket-Dynamic Fields

Post by StefanoBoccanera »

jojo wrote:have a look at the database structure provided in the doc folder
Hi jojo

I just saw to the OTRSDatabaseDiagram.png, but no link relation is depicted btw ticket and dynamic_field or dynamic_field_value tables.

I suspect, after a very brief cross analysis, that object_id column into dynamic_field_value table contains the ticket id reference.

A extend analysis is very huge for me, so it's possible to redirect the question to development team to check if the above assumption is right?

best regards
Stefano Boccanera

OTRS : 3.1.5
ITSM : 3.1
S.O : RH
RDBMS : Postgres
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS 3.1.5 where is the link ticket-Dynamic Fields

Post by jojo »

object id will reference article id or ticket id depending on the type of the freefield.

you can also use the developer mailing list or irc channel on freenode for these questions
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Locked