Hi Daniel,
regarding your first topic:
The configuration is kept in the database, table HelpDeskConfiguration.
There are rows for every type of HelpDesk (order by HDType).
The different states for Auto-Clearing Alerts depending on the ticket status are in the row starting with <root>.
Find the block <hlpdsk-ticketStatus>.
You will see a <status>-block for every status that shall be considered, such as <status>Closed</status>.
I added my own value <status>MB Closed</status> to this block.
Following a restart of SOI (to read the DB tables) the status was shown in the UI as well.
What I was not able to test is, if this is also picking up the value from the ticketing system properly (I don't have different states in my ServiceDesk other than the default).
Possibly you have a test system where you can test that.
I know this a "DB Hack", so be careful what you do.
Regarding the second topic:
I agree that this is a loop condition that should be configurable: When the ticket is closed, the Alert is closed, which triggers the ticker status change.
I suggest you open an Idea for this.
MichaelBoehm