Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NEW] récupération des variables de subtitutions de dolibarr dans les tickets #24

Open
lmag opened this issue Mar 19, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@lmag
Copy link
Member

lmag commented Mar 19, 2021

$substitutionarray['USER_SIGNATURE'] = $user->signature;
$substitutionarray['TICKET_TRACKID'] = $object->track_id;
$substitutionarray['TICKET_REF'] = $object->ref;
$substitutionarray['TICKET_SUBJECT'] = $object->subject;
$substitutionarray['TICKET_TYPE'] = $object->type_code;
$substitutionarray['TICKET_SEVERITY'] = $object->severity_code;
$substitutionarray['TICKET_CATEGORY'] = $object->category_code; // For backward compatibility
$substitutionarray['TICKET_ANALYTIC_CODE'] = $object->category_code;
$substitutionarray['TICKET_MESSAGE'] = $object->message;
$substitutionarray['TICKET_PROGRESSION'] = $object->progress;

@lmag lmag added the enhancement New feature or request label Mar 19, 2021
@lmag
Copy link
Member Author

lmag commented Mar 19, 2021

Rangement dans dolibarr et réaliser une PR

@lmag
Copy link
Member Author

lmag commented Apr 16, 2021

TICKET_TRACKID
TICKET_REF
TICKET_SUBJECT
TICKET_TYPE
TICKET_SEVERITY
TICKET_CATEGORY
TICKET_ANALYTIC_CODE
TICKET_MESSAGE
TICKET_PROGRESSION
TICKET_USER_ASSIGN
TICKET_USER_CREATE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants