GGUSTicketsClient

GGUSTicketsClient class is a client for the GGUS Tickets DB.

class DIRAC.Core.LCG.GGUSTicketsClient.GGUSTicketsClient
__init__()
getTicketsList(siteName=None, startDate=None, endDate=None)

Return tickets of entity in name :param name: should be the name of the site :param startDate: starting date (optional) :param endDate: end date (optional)

ggusURL = 'https://ggus.eu/ws/ticket_search.php?show_columns_check[]=REQUEST_ID&show_columns_check[]=TICKET_TYPE&show_columns_check[]=AFFECTED_VO&show_columns_check[]=AFFECTED_SITE&show_columns_check[]=PRIORITY&show_columns_check[]=RESPONSIBLE_UNIT&show_columns_check[]=STATUS&show_columns_check[]=DATE_OF_CREATION&show_columns_check[]=LAST_UPDATE&show_columns_check[]=TYPE_OF_PROBLEM&show_columns_check[]=SUBJECT&ticket=&supportunit=all&su_hierarchy=all&vo=lhcb&user=&keyword=&involvedsupporter=&assignto=&affectedsite=%s&specattrib=0&status=open&priority=all&typeofproblem=all&ticketcategory=&mouarea=&technology_provider=&date_type=creation+date&radiotf=1&timeframe=any&untouched_date=&orderticketsby=GHD_INT_REQUEST_ID&orderhow=descending'
globalStatistics(ticketList)

Get some statistics about the tickets for the site: total number of tickets and number of ticket in different status