object
issue_creator
Support for automatically creating bug report issues for failed tests in GitHub, GitLab, Azure DevOps, Gitea, Jira, or Linear servers.
logtalk_load(issue_creator(loader))static, context_switching_calls
Usage: This tool is automatically loaded and used from the
logtalk_testerautomation script when using its-boption. See the script man page for details.
Public predicates
(no local declarations; see entity ancestors if any)
Protected predicates
(no local declarations; see entity ancestors if any)
Private predicates
command_text/4
Renders an executable and literal arguments for the given operating system.
staticcommand_text(OperatingSystem,Executable,Arguments,Command)command_text(+atom,+atom,+list(atom),-atom) - zero_or_onetitle/3
Constructs a stable title identifying the test and test set directory.
statictitle(Test,Directory,Title)title(+term,+atom,-atom) - onesearch_arguments/5
Constructs a title and label search requesting at most one matching issue.
staticsearch_arguments(Server,Title,Labels,Executable,Arguments)search_arguments(+atom,+atom,+atom,-atom,-list(atom)) - zero_or_onesearch_command/4
Constructs a command that succeeds only when the query succeeds and reports no matching issue.
staticsearch_command(OperatingSystem,Server,Query,Command)search_command(+atom,+atom,+atom,-atom) - oneempty_search/2
Returns the CLI output for a successful search with no matching issue.
staticempty_search(Server,Output)empty_search(+atom,-atom) - onejira_search_command/3
Constructs a command accepting only the Jira CLI no-result diagnostic after an unsuccessful search.
staticjira_search_command(OperatingSystem,Query,Command)jira_search_command(+atom,+atom,-atom) - onejira_list_command/4
Constructs a command searching for at most one matching Jira bug.
staticjira_list_command(OperatingSystem,Title,Labels,Command)jira_list_command(+atom,+atom,+atom,-atom) - zero_or_onejira_jql/3
Constructs a JQL phrase search with an escaped title and validated labels.
staticjira_jql(Title,Labels,Query)jira_jql(+atom,+atom,-atom) - onejira_label_conditions/2
Constructs a conjunction requiring every Jira label.
staticjira_label_conditions(Labels,Conditions)jira_label_conditions(+list(atom),-atom) - oneazure_list_command/4
Constructs an Azure duplicate check using the configured project and its Bug workflow states.
staticazure_list_command(OperatingSystem,Title,Labels,Command)azure_list_command(+atom,+atom,+atom,-atom) - zero_or_oneazure_search_command/6
Accepts absence only after successful project, workflow, and issue queries.
staticazure_search_command(Shell,ProjectQuery,StatesQuery,IssueQuery,QuotedWIQL,Program)azure_search_command(+atom,+atom,+atom,+atom,+atom,-atom) - oneazure_states_query/1
Returns a native Azure CLI query selecting nonterminal Bug state names as double-quoted WIQL literals.
staticazure_states_query(Query)azure_states_query(-atom) - oneazure_wiql/3
Constructs the title and tag portion of an Azure Bug query; project and workflow constraints are appended at execution.
staticazure_wiql(Title,Labels,Query)azure_wiql(+atom,+atom,-atom) - onepowershell_command/2
Encodes a PowerShell program to avoid cmd.exe expansion of query data.
staticpowershell_command(Program,Command)powershell_command(+atom,-atom) - onevalid_labels/1
Checks for comma-separated nonempty ASCII labels starting with a letter or digit and containing only letters, digits, underscores, or hyphens.
staticvalid_labels(Labels)valid_labels(+atom) - zero_or_onevalid_label_code/1
Checks for an ASCII letter, digit, underscore, or hyphen.
staticvalid_label_code(Code)valid_label_code(+character_code) - zero_or_onecommand_arguments/3
Renders individually quoted command arguments.
staticcommand_arguments(Arguments,OperatingSystem,Text)command_arguments(+list(atom),+atom,-atom) - zero_or_onerun_cli/3
Runs a command, discarding its output and succeeding only on a successful exit status.
staticrun_cli(OperatingSystem,Executable,Arguments)run_cli(+atom,+atom,+list(atom)) - zero_or_one_or_errorerror(system_error,Context)null_redirect/2
Returns the operating-system redirection for discarding standard output and standard error.
staticnull_redirect(OperatingSystem,Redirect)null_redirect(+atom,-atom) - onecreate_arguments/7
Constructs literal issue creation arguments for a tracker.
staticcreate_arguments(Server,Title,Description,Labels,Assignee,Executable,Arguments)create_arguments(+atom,+atom,+atom,+atom,+atom,-atom,-list(atom)) - oneoption_arguments/3
Omits an option when its value is empty.
staticoption_arguments(Option,Value,Arguments)option_arguments(+atom,+atom,-list(atom)) - onelabel_arguments/2
Constructs repeated label arguments from comma-separated labels.
staticlabel_arguments(Labels,Arguments)label_arguments(+atom,-list(atom)) - onerepeated_labels/2
Pairs each label with its command option.
staticrepeated_labels(Labels,Arguments)repeated_labels(+list(atom),-list(atom)) - oneOperators
(none)