Vieles habe ich schon probiert und weiss nun nicht mehr weiter. Wer kann mir hierbei helfen?TypeError: not all arguments converted during string formatting
Code: Alles auswählen
n_field_name = 'PPS'
cursor_req.execute("SELECT ticket.id, ticket.type, ticket.summary, ticket.status, ticket_custom.value, "
"ticket_custom.name FROM "
"ticket_custom INNER JOIN ticket ON (ticket_custom.ticket = ticket.id) "
"WHERE ticket.type ='requirement' AND ticket_custom.name ='project' AND ticket_custom.value='%s' "
"ORDER BY ticket_custom.value, ticket.summary", (n_field_name,))