-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
change status to assigned when requester add a followup #247
Comments
This change of status is only for a follow-up, so it must be in post_addItem() of TicketFollowup.
With an entity option for that, all sources will have same treatment (email, interface and webservices). |
In complement to this friday discussion, i would like to precise old control (5d549a060a97#diff-007edb12589cf3c8df3121cd7b19028aL6707). In self-service, this control is also present (but only with allowed status) and the default choice was predefined by removed part : if ($actor_type == CommonITILActor::REQUESTER) {
$ticket->fields['status'] = CommonITILObject::ASSIGNED;
} I you are a requester, the defaut value was defined to CommonITILObject::ASSIGNED I prefer a change in displayed html and add an input[type=hidden][name=_reopen] in case of requester actor. |
Maybe, we can add this only in followup's form (instead of both task/followup) |
actually, we already have a part to do this : https://github.com/glpi-project/glpi/blob/master/inc/ticketfollowup.class.php#L601-L607 I'll change this part to take to set $reopen_case = true on case of waiting status |
So, here is the final implementation. |
One more point, in case of double notifications (update_ticket and add_followup) on this action, Same for a user change status in same action of adding followup or task. The important data to notify is, imo, the content added in task or followup , not the change of status in ticket. $donotif = false; and add $update['_disablenotif'] = true; before the ticket update Your opinions ? |
Je suis désolée mais je ne comprends pas du tout le code. |
I'm not agree with this change. |
@yllen good catch |
Done at purpose, see #247 (comment) |
I open a new discussion because feature was removed in 5d549a060a97#diff-007edb12589cf3c8df3121cd7b19028aL6707 commit.
It's important for some users so i need to re-add it.
But i think the previous implementation was maybe a little hardcoded.
For full explanation.
I suggest for 0.90.1 (or next) to add an entity option to control this.
Your opinion, @yllen
The text was updated successfully, but these errors were encountered: