EMail Ticket via GenericInterface

Hilfe zu OTRS Problemen aller Art
Post Reply
DHSBernhard
Znuny newbie
Posts: 9
Joined: 05 Aug 2018, 13:43
Znuny Version: 6.0.16
Real Name: Bernhard Marx

EMail Ticket via GenericInterface

Post by DHSBernhard »

Hallo,

wie muss ich die Parameter setzen, damit ich via GenericInterface ein EMail-Ticket erzeugen kann? Vergleichbar zu Action=AgentTicketEmail

Danke!
Bernhard
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: EMail Ticket via GenericInterface

Post by jojo »

Das ist aktuell nur mit OTRS aber nicht der ((OTRS Community Version)) möglich
"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
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: EMail Ticket via GenericInterface

Post by root »

Hallo Bernhard,

schau Dir mal das Paket hier an: https://github.com/znuny/Znuny4OTRS-GIArticleSend

- 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 ?
DHSBernhard
Znuny newbie
Posts: 9
Joined: 05 Aug 2018, 13:43
Znuny Version: 6.0.16
Real Name: Bernhard Marx

Re: EMail Ticket via GenericInterface

Post by DHSBernhard »

Hallo Roy,

danke für Deine Antwort. Ich habe das Paket und das Repo installiert. Innerhalb des Repos sind alle Haken grün...
Trotzdem wird kein passendes Ticket erzeugt und versendet...

Code: Select all

{
    "UserLogin": "email@otrs.de",      
    "Password": "xxxxxxxxx",    
	"Ticket": {
            "Title":		"Example ticket",
            "Queue":		"Bestellung",
            "CustomerUser": "user@receiverdomain.de",
            "State":		"new",
            "Priority":		"3 normal",
            "OwnerID":		2
	},
    "Article": {
            "ArticleSend": 1,
            "Subject": "Example2",
            "Body": "This is a GenericInterface example.",
            "ContentType": "text/plain; charset=utf8",
            "Charset":  "utf8",
            "MimeType":  "text/plain",
            "To": "user@receiverdomain.de"
            
     }
}
Danke für weitere Hilfestellung!

Bernhard

P.S.:
Im Apache Error Log steht folgendes:

Code: Select all

[Sun Aug 05 19:52:21.801990 2018] [:error] [pid 680:tid 140168539404032] Can't locate object method "ArticleSend" via package "Kernel::System::Ticket::Article::Backend::Internal" at /opt/otrs/Custom/Kernel/GenericInterface/Operation/Ticket/TicketCreate.pm line 1683.\n
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: EMail Ticket via GenericInterface

Post by root »

Hallo,

ich probier das mal gleich morgen aus.

- 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 ?
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: EMail Ticket via GenericInterface

Post by root »

Hallo Bernhard,

füge als Parameter beim Artikel noch folgendes hinzu:

Code: Select all

"CommunicationChannel": 'Email',
- 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 ?
DHSBernhard
Znuny newbie
Posts: 9
Joined: 05 Aug 2018, 13:43
Znuny Version: 6.0.16
Real Name: Bernhard Marx

Re: EMail Ticket via GenericInterface

Post by DHSBernhard »

Hallo Roy,

perfekt! Vielen Dank! So funktioniert es jetzt!

Bernhard
Post Reply