generate auto tickets

General discussion of Mantis.

Moderators: Developer, Contributor

noc

generate auto tickets

Post by noc »

Hi,

is there are possible to generate auto tickets with MantisBT or additional plugin?

cu
atrol
Site Admin
Posts: 8555
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: generate auto tickets

Post by atrol »

I don't understand what you mean with
noc wrote:generate auto tickets
Can you give an example?
Please use Search before posting and read the Manual
noc

Re: generate auto tickets

Post by noc »

for example:

create a weekly, daily or maby hourly ticket with a subject and description for eg. check server logs or something other infrastructure servers.

I know the feature of BMC.
atrol
Site Admin
Posts: 8555
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: generate auto tickets

Post by atrol »

Got it,
I am not aware that there is a plugin which you could use out of the box.
Maybe this one (I never used myself) is a good starting point for development http://www.mantisbt.org/bugs/view.php?id=12533
Please use Search before posting and read the Manual
cas
Posts: 1768
Joined: 11 Mar 2006, 16:08
Contact:

Re: generate auto tickets

Post by cas »

Yes there is a plugin. :mrgreen:
Made that some time ago, see attached file.
This one brings daily, weekly, monthly, quarterly, half-yearly & yearly tickets.
Attachments
RecurCall.zip
(5.64 KiB) Downloaded 1167 times
noc

Re: generate auto tickets

Post by noc »

ok, i have install the plugin in a copy of my productive mantis.

now where can I found the recure call options?

I have installed the plugin and edits the config_inc and custom_strings file so as described in the installation steps.
cas
Posts: 1768
Joined: 11 Mar 2006, 16:08
Contact:

Re: generate auto tickets

Post by cas »

There is a small doc file explaining this.
First you create a ticket for example of the type "Monthly recurring"
If the call (issue / ticket) in the system reaches a predefined Status (default: resolved),
it creates a new call, again with a predefined status(default: assigned).
It then sets a new duedate based upon call type, ie type=76, it adds one month to the duedate.
It does work only with the standard working days which means that a month is defined as 22 working days.
noc

Re: generate auto tickets

Post by noc »

thanks for your help.

I had to create a new Mantis. In my old mantis is a bug, i didn't see the call options.

It works with the new mantis, now I will test some call options.
noc

Re: generate auto tickets

Post by noc »

Hi,

now after my testing i have a question?

I created a issue with the type "Daily recurring". When i closed the issue, a new issue is automatically created. Why?
I thought the new issue is created the next day.

This is same happend to weekly or monthly recurring issues. After i resolved this, a new issue is automatically created.
Elyes
Posts: 38
Joined: 21 Feb 2012, 13:31

Re: generate auto tickets

Post by Elyes »

Hello,
Thanks for this plugin.
I've installed it successfully.
But when I report a new issue I get in the field Call Type the following values: @74@,@75@,@76@,@77@,@78@,@79@
instead of Daily Recurring task,Weekly Recurring task,Monthly Recurring task,Quarterly Recurring task,Half-yearly Recurring task,Yearly Recurring task.

Please refer to the attached file.
Is there any clues?
Attachments
Call Type.JPG
Call Type.JPG (19.72 KiB) Viewed 21353 times
noc

Re: generate auto tickets

Post by noc »

anyone an idea
noc wrote: now after my testing i have a question?

I created a issue with the type "Daily recurring". When i closed the issue, a new issue is automatically created. Why?
I thought the new issue is created the next day.

This is same happend to weekly or monthly recurring issues. After i resolved this, a new issue is automatically created.
cas
Posts: 1768
Joined: 11 Mar 2006, 16:08
Contact:

Re: generate auto tickets

Post by cas »

@Elyes, please follow instructions with respect to the config_inc and custom_strings_inc scripts. That will take care of the issue.

@noc, same advice. It will create a new issue/task once the active issue reaches a certain status. This again is configurable via plugin management :mrgreen:
Elyes
Posts: 38
Joined: 21 Feb 2012, 13:31

Re: generate auto tickets

Post by Elyes »

Hello,
It's true that the new call is created depending on the Status already configured on the plugin.
But I'm wondering whether we can also impose that the new call is only created on the next day.
cas
Posts: 1768
Joined: 11 Mar 2006, 16:08
Contact:

Re: generate auto tickets

Post by cas »

Currently that is not an option. The next ticket is triggered by a certain status. :mrgreen:
Now if you would use the staus onfirmed, you could use that status to trigger the next ticket, still based upon status. :roll:
So when you create a daily recurring task, would you then expect the system to generate tickets for every day :?:
Only on workdays or all days :?: for which period, this week, month, year, indefinite :?:
Elyes
Posts: 38
Joined: 21 Feb 2012, 13:31

Re: generate auto tickets

Post by Elyes »

Here the inconvenience is that the new call is automatically created when we change the status.
It would be better if the creation will be done when we change the status and appears on the next day.
Any clues?
Post Reply