Search found 26 matches

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

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
Dec 17, 2018 10:40 am
Forum: Help
Topic: Don't receive a email notification when I change the status (for only some stauts)
Replies: 0
Views: 294

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
Dec 14, 2018 3:04 am
Forum: French
Topic: Calcul entre les champs personnalisés
Replies: 5
Views: 686

Re: Calcul entre les champs personnalisés

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

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
Dec 11, 2018 9:42 am
Forum: General Plugin Discussion
Topic: Tablefield plugin
Replies: 3
Views: 397

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
Dec 03, 2018 12:41 pm
Forum: Customizations
Topic: Don't receive a email notification when I change the status
Replies: 0
Views: 295

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
Nov 13, 2018 9:16 am
Forum: Help
Topic: Question about common js file (folder :js)
Replies: 10
Views: 591

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
Nov 13, 2018 4:54 am
Forum: Help
Topic: Question about common js file (folder :js)
Replies: 10
Views: 591

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
Nov 13, 2018 4:22 am
Forum: Help
Topic: Question about common js file (folder :js)
Replies: 10
Views: 591

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", functi...
by Amin
Nov 13, 2018 3:59 am
Forum: Help
Topic: Question about common js file (folder :js)
Replies: 10
Views: 591

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
Nov 13, 2018 2:58 am
Forum: Help
Topic: Question about common js file (folder :js)
Replies: 10
Views: 591

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
Nov 12, 2018 10:23 am
Forum: Help
Topic: Question about common js file (folder :js)
Replies: 10
Views: 591

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
Nov 08, 2018 10:28 am
Forum: Help
Topic: Get the bug id after submting bug
Replies: 3
Views: 407

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
Nov 08, 2018 9:55 am
Forum: Help
Topic: Get the bug id after submting bug
Replies: 3
Views: 407

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
Nov 07, 2018 3:46 am
Forum: Help
Topic: How to hide a custom field depending on a custom field just before
Replies: 3
Views: 336

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...