Collaborama About Help Contact Anonymous [login] Source: site.view [edit] Function name: createIssue Arguments: Description: Creates a new issue or function request Page type: webl Render function: Module: siteutil Page source: var module; if Size(OPTIONALARGS) == 1 then module = OPTIONALARGS[0] else module = wubinfo.user end; if module != nil then var functionName = Str_ToUpperCase(Select(module, 0, 3)) ? "ISS"; var funcs = Wub_FunctionList(module); var n = 1; var found = true; while found do found = (functionName + ToString(n)) member funcs; if found then n = n + 1 end; end; functionName = functionName + ToString(n); var values = [. module=module, name=functionName, flags="issueOpen" .]; WubCall("editFunction", [functionName, false, "", values, true]); else "Couldn't find project to add issue to" end;