<SOLVED> External change dynamic field

Moderator: crythias

Locked
lukbec
Znuny newbie
Posts: 34
Joined: 20 Apr 2012, 15:03
Znuny Version: 2.4.6

<SOLVED> External change dynamic field

Post by lukbec »

Hello,
I'm needs a help, hints as dynamic field updates the fields directly in the database MySql and unfortunately you can not see the changes in the OTRS system.

Ex .:
- In OTRS field dynamic field = x,
- Updating the database dynamic field = xx
and in OTRS persists field=x, not xx.

Indirectly I worked it out by deleting the cache. How do I update the external field to change the dynamics of the field you could be seen without deleting the cache?
Last edited by lukbec on 29 May 2015, 15:02, edited 1 time in total.
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: External change dynamic field

Post by RStraub »

You would have to update the fields via API:
http://otrs.perl-services.de/docs/otrs/ ... value.html
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
lukbec
Znuny newbie
Posts: 34
Joined: 20 Apr 2012, 15:03
Znuny Version: 2.4.6

Re: External change dynamic field

Post by lukbec »

RStraub wrote:You would have to update the fields via API:
http://otrs.perl-services.de/docs/otrs/ ... value.html
Is it possible to implement this in .NET? I'm not a dev, and I have to outsource it.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: External change dynamic field

Post by crythias »

You are doing something unsupported. It would be better to send an email with the dynamic field update.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
lukbec
Znuny newbie
Posts: 34
Joined: 20 Apr 2012, 15:03
Znuny Version: 2.4.6

Re: External change dynamic field

Post by lukbec »

crythias wrote:You are doing something unsupported. It would be better to send an email with the dynamic field update.

Any example?
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: External change dynamic field

Post by crythias »

Read about X-OTRS-Followup in postmaster filter. If the mailbox is trusted, all X-OTRS-FOLLOWUP email headers will be obeyed.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
lukbec
Znuny newbie
Posts: 34
Joined: 20 Apr 2012, 15:03
Znuny Version: 2.4.6

Re: External change dynamic field

Post by lukbec »

crythias wrote:Read about X-OTRS-Followup in postmaster filter. If the mailbox is trusted, all X-OTRS-FOLLOWUP email headers will be obeyed.
In fact, but for one field I have some value, so I will need to add filters so long as I have of possible values.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: <SOLVED> External change dynamic field

Post by crythias »

lukbec wrote:In fact, but for one field I have some value, so I will need to add filters so long as I have of possible values.
I'm not sure how to translate this post. I'm assuming the same code you use to inject the value(s) can be used to create an email that has the same value(s).


in code, you're injecting DynamicField Foo: Value: bar
in email, you add a header value, exactly the same way you'd add To: or Cc: or Subject:

Code: Select all

X-OTRS-DynamicField-Foo: bar
and send that to your ticketing system.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked