Search found 31 matches

by aagency
28 Jan 2022, 23:37
Forum: Suggestions
Topic: Mispelled method in items class
Replies: 0
Views: 197

Mispelled method in items class

Hi Sergey, I think there was an error naming a pair of methods in the items class in /includes/classes/items/items.php at line 1041 public static function get_paretn_entity_id_by_path($path) and at line 1060 public static function get_paretn_entity_item_id_by_path($path) seems like the right name co...
by aagency
28 Jan 2022, 22:38
Forum: Discussion
Topic: add comment "manually"
Replies: 2
Views: 998

add comment "manually"

Hi Sergey, I've setup a custom script when saving an item that edit some values on other connected items. I'm using items::update_by_id($entity_id, $item_id, $data) like you suggested in the documentation (https://docs.rukovoditel.net/index.php?p=125) I though this way the changes gets reported in t...
by aagency
06 Jan 2022, 16:42
Forum: Discussion
Topic: Hide comments of sub entity
Replies: 5
Views: 383

Re: Hide comments of sub entity

Ok. If I understand correctly through that setting I can set the visibility of ticket object comments according to ticket status field value.

I need to set the ticket comments visibility according to project object (parent) status field value.
There is a way to do that?
by aagency
05 Jan 2022, 21:29
Forum: Discussion
Topic: API update request with multiple update_by_field values
Replies: 1
Views: 236

API update request with multiple update_by_field values

Hi Sergey, I'm trying to updating some records using the API but I need to select records to update selecting them by two fields. Since the "update_by_field" value is enclosed in square brackets I thought I can set an array. But unfortunately it seems not working. Here is my code: params =...
by aagency
05 Jan 2022, 16:03
Forum: Discussion
Topic: Hide comments of sub entity
Replies: 5
Views: 383

Re: Hide comments of sub entity

Yes, I've already done it.

And it actually hide correctly the ADD button based on parent status.
I need to block new comments on already created child items.

I can't see any way to change comments visibility based on parent item field value.
by aagency
05 Jan 2022, 13:33
Forum: Discussion
Topic: How to get current_user_id from API
Replies: 3
Views: 294

Re: How to get current_user_id from API

How can I get the dynamic data of the user that is actually using the application by a query on the user table?
by aagency
04 Jan 2022, 22:52
Forum: Discussion
Topic: How to get current_user_id from API
Replies: 3
Views: 294

How to get current_user_id from API

Is possible to get current_user_id from rest API?

Thanks
by aagency
04 Jan 2022, 22:50
Forum: Discussion
Topic: Hide comments of sub entity
Replies: 5
Views: 383

Hide comments of sub entity

Hi Sergey, according to my application structure I've got - project (main entity) --- support tickets (sub entity) I've been able to disable new tickets on "closed" projects but clients are still able to add new comments on old tickets. Is there a way to automatically disable comments on t...
by aagency
27 Dec 2021, 21:40
Forum: Discussion
Topic: Add a new comment automatically when a reply to the email notification is sent
Replies: 5
Views: 563

Re: Add a new comment automatically when a reply to the email notification is sent

Hi Sergey, there are any developments about the possibility of having such a feature? It would be awesome. In fact our clients love the notifications they receive and they respond to them giving us feedback about the issues we are solving. Unfortunately this kind of communication gets lost unless so...