Search found 26 matches

by Amin
21 Dec 2018, 09:09
Forum: Help
Topic: Hide the priority field during the update to the reporter
Replies: 1
Views: 2006

Hide the priority field during the update to the reporter

Hello,
Is there any option to hide the priority field when the reporter update his issue.
I would like that only manager, dev, and administrator can update this one.

Someone have an idea ?

Thanks
by Amin
17 Dec 2018, 15:40
Forum: Help
Topic: Don't receive a email notification when I change the status (for only some stauts)
Replies: 0
Views: 4052

Don't receive a email notification when I change the status (for only some stauts)

Hello, I have problem with email notification. I don't know why I can't receive an email for all status. I reiceive it only for new, assigned, resloved and closed. And concerning acknoledged and confirmed no mail reiceived. //$s_status_enum_string = '10:new,20:feedback,30:acknowledged,40:confirmed,5...
by Amin
14 Dec 2018, 08:04
Forum: French
Topic: Calcul entre les champs personnalisés
Replies: 5
Views: 9441

Re: Calcul entre les champs personnalisés

Il faut créer un plugin, ou sinon modifier le code source.
by Amin
11 Dec 2018, 18:53
Forum: French
Topic: Calcul entre les champs personnalisés
Replies: 5
Views: 9441

Re: Calcul entre les champs personnalisés

Il faut créer un plugin pour cela le problème du calcul d'un champs personnalisés est que on connait pas l'ID du bug puisque ce dernier n'as pas été envoyé. Donc la solution la plus simple est de créer un plugin. Ma question est la suivant : les deux champs sont les deux visible sur votre formulaire ?
by Amin
11 Dec 2018, 14:42
Forum: General Plugin Discussion
Topic: Tablefield plugin
Replies: 3
Views: 5686

Tablefield plugin

Hello, I would like to create a new type (table) when I create a custom field. I have found this plugin : https://github.com/davidinc/TableField I have create the table manaualy using myphpadmin (mantis_tablefield_item_list_table) , but it's doesn't work.. If someone have an idea about what I need t...
by Amin
03 Dec 2018, 17:41
Forum: Customizations
Topic: Don't receive a email notification when I change the status
Replies: 0
Views: 4959

Don't receive a email notification when I change the status

Hello everybody,

I have 7 status and I have problem with email notification. I don't receive (for all status) an email when I change the status except 2 status only from 7.

PS : All box in configuration are cheked.

If someone have an idea. I will appreciate his help.

Thanks
by Amin
13 Nov 2018, 14:16
Forum: Help
Topic: Question about common js file (folder :js)
Replies: 10
Views: 5982

Re: Question about common js file (folder :js)

I have try like you said to create an plugin using Event_layout_resources event like you see here I create a folder called calculate_custom_field_value Inside this folder : /calculate_custom_field_value.php /files/calculate.js ******************************************************************calcula...
by Amin
13 Nov 2018, 09:54
Forum: Help
Topic: Question about common js file (folder :js)
Replies: 10
Views: 5982

Re: Question about common js file (folder :js)

I have deleted cache just now and still Nothing, maybe my code is not correct
by Amin
13 Nov 2018, 09:22
Forum: Help
Topic: Question about common js file (folder :js)
Replies: 10
Views: 5982

Re: Question about common js file (folder :js)

Exactly that I want to do later, but before I'm trying to add lines of code directly on the common file. Once my code is working I will try to export it on a plugin. This is my code I have add it at the buttom of the file after the last bracket $(document).addEventListener("DOMContentLoaded&quo...
by Amin
13 Nov 2018, 08:59
Forum: Help
Topic: Question about common js file (folder :js)
Replies: 10
Views: 5982

Re: Question about common js file (folder :js)

So if I add some lines of code on the common js file in order to calculate automaticly the value of a custom field normaly the code it will be excuted on the page where the fields are used..

I know is not the best solution because if update mantis I will loose the modification...
by Amin
13 Nov 2018, 07:58
Forum: Help
Topic: Question about common js file (folder :js)
Replies: 10
Views: 5982

Re: Question about common js file (folder :js)

Hello Atrol,

I understand a big part of code, and my question is not really that.

I would like to know how this code is executed on mantis, when he is called ?

This file is called common, it's common for all php file or only specefic file ?


Thanks
by Amin
12 Nov 2018, 15:23
Forum: Help
Topic: Question about common js file (folder :js)
Replies: 10
Views: 5982

Question about common js file (folder :js)

Hello evreybody,

I would like to understand how the code who exist on common.js is executed ?
How all functions of this file are called ?

I have looked on all support document and also on all php file and no idea

If someone have an idea, I will appreciate his help
Thank you
by Amin
08 Nov 2018, 15:28
Forum: Help
Topic: Get the bug id after submting bug
Replies: 3
Views: 2819

Re: Get the bug id after submting bug

Hello Atrol,

Thank you for response

But The EVENT_REPORT_BUG take in parameters Bug data structure and Bug id and he retrun nothing. And I want to get the bug ID.

I need to get the bug ID in order to use it in custom_function_api.php (in a override fonction).
by Amin
08 Nov 2018, 14:55
Forum: Help
Topic: Get the bug id after submting bug
Replies: 3
Views: 2819

Get the bug id after submting bug

Hello, I would like to get the bug_id after submiting an bug in order to use it after to do something I have do that but I'm not sur that it's working correctly : $p_issue_id =helper_get_current_project(); $t_bug = bug_get( $p_issue_id ); If someone have another idea I will appreciate his help. Than...
by Amin
07 Nov 2018, 08:46
Forum: Help
Topic: How to hide a custom field depending on a custom field just before
Replies: 3
Views: 2344

Re: How to hide a custom field depending on a custom field just before

Hello atrol, I have used this plugin to link 2 custom field but the problem is that this plugin is working only for ENUMERATION and MULTI_SELECT type. Also I don't think that is the same problem. I want to hide all the custom field and not only the value. And this plugin is to hide only the values o...