Hello,
Would be possible to create an automation that will be setting Config Items to "Expired" once the Expired date is achieved?
Maybe other alternative idea?
Thank you
Deployment State auto set to Expired
Moderator: crythias
-
- Administrator
- Posts: 3968
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Deployment State auto set to Expired
Hi,
Not within OTRS without development. The easiest for me would be using the GenericInterface:
- Use the existing operation ConfigItem::ConfigItemSearch to find expired items
- Set the to expired with the operation ConfigItem::ConfigItemUpdate
Execute this via cron once a day and you're all set.
- Roy
Not within OTRS without development. The easiest for me would be using the GenericInterface:
- Use the existing operation ConfigItem::ConfigItemSearch to find expired items
- Set the to expired with the operation ConfigItem::ConfigItemUpdate
Execute this via cron once a day and you're all set.
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Re: Deployment State auto set to Expired
Hi,
I use pending ticket linked to a CI.
Flo
I use pending ticket linked to a CI.
Flo
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11
-- Ich beantworte keine Forums-Fragen PN - No PN please
I won't answer to unfriendly users any more. A greeting and regards are just polite.
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11
-- Ich beantworte keine Forums-Fragen PN - No PN please
I won't answer to unfriendly users any more. A greeting and regards are just polite.
-
- Administrator
- Posts: 3968
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Deployment State auto set to Expired
And how is this done? Creating the ticket and link? Manually?
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Re: Deployment State auto set to Expired
Hi,
yes. Someone requests a new hardware - this is my ticket and it stays.
The CI is created manually and linked.
regards
Flo
yes. Someone requests a new hardware - this is my ticket and it stays.
The CI is created manually and linked.
regards
Flo
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11
-- Ich beantworte keine Forums-Fragen PN - No PN please
I won't answer to unfriendly users any more. A greeting and regards are just polite.
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11
-- Ich beantworte keine Forums-Fragen PN - No PN please
I won't answer to unfriendly users any more. A greeting and regards are just polite.
Re: Deployment State auto set to Expired
Hello,
Thank you guys. So let's say that we should use a workaround to create a reminder. The option from Roy seems to be great, I don't know how to do that honestly. I should investigate.
Thank you again.
Regards
Thank you guys. So let's say that we should use a workaround to create a reminder. The option from Roy seems to be great, I don't know how to do that honestly. I should investigate.
Thank you again.
Regards
-
- Administrator
- Posts: 3968
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Deployment State auto set to Expired
Hi drodralv,
Here an example build with PowerShell: https://gist.github.com/rkaldung/1ae7b8 ... f6867b557b
It contains the web service to import, my Computer class definition, and the PowerShell script.
- Roy
Here an example build with PowerShell: https://gist.github.com/rkaldung/1ae7b8 ... f6867b557b
It contains the web service to import, my Computer class definition, and the PowerShell script.
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Re: Deployment State auto set to Expired
Hello,
Looks great, thank you, I will keep it for future developments as well.
Regards
Looks great, thank you, I will keep it for future developments as well.
Regards