View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0012521 | mantisbt | feature | public | 2010-11-08 07:33 | 2024-01-27 11:18 |
Reporter | cas | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | new | Resolution | open | ||
Summary | 0012521: Script to automatically change status | ||||
Description | When an issue is fixed, we give the issue status Resolved. | ||||
Additional Information | This script updates issues with a new status if a certain status is there for more than a number of days parameters
if not passed as parameter, default values 7,80,90,1 are being used Should run versions 1.0 and above | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
has duplicate | 0016709 | closed | dregad | Need facility to convert the resolve ticket into the close status balsed on the time . |
has duplicate | 0020343 | closed | atrol | close resolved incidents automatically |
has duplicate | 0010304 | closed | atrol | Automatic adjustment of status |
has duplicate | 0020831 | closed | atrol | Auto closing the Issues with No Response on Status Feedbac- requested |
has duplicate | 0026100 | closed | atrol | Auto closure of calls |
Dear, Thank you Very much for the Instant Reply & Support. Many thanks |
|
Hi, thanks |
|
This script could be stored in the root of your mantis and next it needs to be scheduled to run automatically every day or whatever you like. |
|
Added an updated version which runs under 2.x |
|
@cas, $t_days = 60, using DD/MM/YYYY date format and... |
|
Theis script does not adjust datess, it only changes the status. So your comment is not clear to me. |
|
with variable $t_days = 60 (in my case) this script closes today's issues and it makes a strange 'date_modified' column in database (4294967295 -> 07.02.2106 09:28:15) |
|
@cas, can you add a variable for project selection in script? |
|
No problem, see attached. |
|
As for the date issue, it simply uses the current date from your system. So in case database and webserver are on the same system, check system time etcetera. |
|