Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions atlassian/confluence.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ def get_page_child_by_type(self, page_id, type='page', start=None, limit=None):
log.error(e)
return None

def get_child_pages(self, page_id):
"""
Get child pages for the provided page_id
:param page_id:
:return:
"""
return self.get_page_child_by_type(page_id=page_id, type='page')

def get_page_id(self, space, title):
"""
Provide content id from search result by title and space
Expand Down
2 changes: 1 addition & 1 deletion atlassian/jira.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ def get_project_issuekey_all(self, project):
return [issue['key'] for issue in self.jql(jql)['issues']]

def get_project_issues_count(self, project):
jql = 'project = {project}'.format(project=project)
jql = 'project = "{project}" '.format(project=project)
return self.jql(jql, fields='*none')['total']

def get_all_project_issues(self, project, fields='*all'):
Expand Down