source = SOURCE_NONE def get_activities(self, query=None): if not self.source or not query: return [] if self.source == SOURCE_EVOLUTION: return [activity for activity in get_eds_tasks() if query is None or activity['name'].startswith(query)] elif self.source == SOURCE_RT: ...
source or not query: return [] if self.source == SOURCE_EVOLUTION: return [activity for activity in get_eds_tasks() if query is None or activity['name'].startswith(query)] elif self.source == SOURCE_RT: activities = self.__extract_from_rt(query, self.rt_query) direct_ticket = ...
However, this doesn't check if the query will return results. You can also include object smart values, i.e. {{object name.attribute name}} in your query. Learn more about smart values for Assets in Jira Service Management JQL Use smart values here: Yes Before getting started with a ...
An option matches the query if any word in option's name starts with the given query. maxResults int Default: 100 a limit of results. Responses Status 200 - application/json Example {"options":[{"self":"http://localhost:8090/jira/rest/api/2.0/customFieldOption/3","value":"Blue","...
at com.querydsl.sql.AbstractSQLQuery.fetch(AbstractSQLQuery.java:446) ... 36 more Caused by: Error : 1873, Position : 236, Sql = select ISSUE_VERSION.issue_id, ISSUE_VERSION.parent_issue_id, ISSUE_VERSION.update_time, ISSUE_VERSION.index_versi...
An option matches the query if any word in option's name starts with the given query. maxResults int Default: 100 a limit of results. Responses Status 200 - application/json Example {"options":[{"self":"http://localhost:8090/jira/rest/api/2.0/customFieldOption/3","value":"Blue","...
This operation triggers when a new issue appears in the latest 100 results of a JQL query. When an issue is closed This operation triggers when an existing issue is closed in the given project. When an issue is closed (V2) This operation triggers when an existing issue is closed in...
Type the query using the Field, Operator and Values like issueKey = “WFT-107”. There are other fields as well – Affected Version, Assignee, Attachments, Category, Comment, Component, Created, Creator, Description, Due, Environment, etc. As soon as the user starts typing, the auto-complet...
print("Query is", query) issues = {} num =0whileTrue: query_result = jira.search_issues(query,maxResults=500,startAt=num) num +=500forissueinquery_result:forlink_idinissue.fields.issuelinks: outwardIssue = jira.issue_link(link_id).outwardIssueifoutwardIssue.key.startswith('CL-'): ...
body = add_part(body,'html', html,'\n')foriteminpost.items():ifnotitem[0].startswith('attachment'): body = add_part(body, item[0], item[1],', ') body = add_part(body,'headers', headers,'\n')ifjira: project = jira.project('MJA') ...