fields.summary, self.url, issue.key) def ticket_create(self, callback, args): return "create: not implemented yet" def ticket_search(self, callback, args): jql = "" for a in args: if jql: jql += " and " jql += '(summary ~ "%s" or description ~ "%s")' % (a, a) ...
fields.summary, self.url, issue.key) def ticket_create(self, callback, args): return "create: not implemented yet" def ticket_search(self, callback, args): jql = "" for a in args: if jql: jql += " and " jql += '(summary ~ "%s" or description ~ "%s")' % (a, a) ...
获取Jira 平台对应项目的 project、项目地址、api_token、username,后续观测云脚本需要用到。 只有管理员才有权限进行以上操作 观测云 创建API Key API Key 可参考文档:https://docs.guance.com/management/api-key/ 其中key name 设置为 Jira 系统,有利于区分该评论信息来源于观测云或者是 Jira,且 key name 会...
jql +=" and (project='{}')".format(project)returnlen(self.jira.search_issues(jql, maxResults=0))defsync(self, vulnerabilities,project, components=[]):#JIRA structure of each vulnerability: [source, scan_name, title, diagnosis, consequence, solution, ips, risk, references]self.logger.info(...
Use this condition ahead of the JQL and Advanced compare conditions, where possible. There are multiple ways to use this condition: Compare a field with another value Compare a field with another field Alert fields condition Use smart values here: No Checks whether an alert’s field meets a ...
NameKeyRequiredTypeDescription JQL Query jql True string Query to use. Returns Issue FullIssue When a new issue is returned by a JQL query (V2)Operation ID: OnNewIssueJQL_V2 This operation triggers when a new issue appears in the latest 100 results of a JQL query. Parameters Proširi ta...
JQL functionsThis page describes information about functions that are used for advanced searching. A function in JQL appears as a word followed by parentheses, which may contain one or more explicit values or Jira fields. In a clause, a function is preceded by an operator, which in turn is ...
The parameters of this condition are identical with those of the "Commit message must contain issue keys from a JQL query" condition. See that for more details. Examples: A "Task" type issue whose summary starts with "Release ..." issue must be associated with each tag. A "Configuration"...
You can also choose to enter a JQL query. If you do, actions in this rule will execute on the issues included in the query. Scheduled rules that reach a Failure status for 10 consecutive executions will disable automatically. Work logged Related smart values: {{worklog}} This rule will run...
NameKeyRequiredTypeDescription JQL Query jql True string Query to use. Returns Issue FullIssue When a new issue is returned by a JQL query (V2)Operation ID: OnNewIssueJQL_V2 This operation triggers when a new issue appears in the latest 100 results of a JQL query. Parameters Expand table...