Update attribute "From" using GenericInterface

Moderator: crythias

Post Reply
drodralv
Znuny advanced
Posts: 102
Joined: 26 Jul 2019, 08:25
Znuny Version: 5.0.28

Update attribute "From" using GenericInterface

Post by drodralv »

Hello,

I was reviewing the documentation and doing some tests but i´m not able to update the "From" attribute from an article already left. We were creating child tickets without "From" and our API tool is using that "From" attribute. Would be possible to update that attribute? how? using web services?

Thank you in advance
root
Administrator
Posts: 3963
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Update attribute "From" using GenericInterface

Post by root »

Hi,

You can't update an article, not in the frontend and not via the generic interface. To fix existing tickets the only possibility is SQL. Something that I definitely not recommend.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
drodralv
Znuny advanced
Posts: 102
Joined: 26 Jul 2019, 08:25
Znuny Version: 5.0.28

Re: Update attribute "From" using GenericInterface

Post by drodralv »

Hello,

Alright, thank you. Usually, the way we update an article is just updating the "file-2" file, so we just update the visual html data. In this case was more an attribute itself and yes, via SQL BOX i saw that A_FROM is null in this case.

Thank you again.

Regards
skullz
Znuny superhero
Posts: 623
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: Update attribute "From" using GenericInterface

Post by skullz »

if you have a perl knowledge, check under 'ArticleUpdate()'

https://otrs.perl-services.de/otrs/rel- ... icleUpdate
Post Reply