refresh_jira_issues: Refresh JIRA Issues and/or Comments

View source: R/jira.R

refresh_jira_issuesR Documentation

Refresh JIRA Issues and/or Comments

Description

Uses the adopted file name convention by download_jira_issues to identify the latest downloaded JIRA issue key KEY-i, and calls download_jira_issues_by_issue_key with lower bound KEY-(i+1) to download all newer issues.

Usage

refresh_jira_issues(
  domain,
  jql_query,
  fields,
  username = NULL,
  password = NULL,
  save_folder_path,
  max_results,
  max_total_downloads,
  verbose
)

Arguments

domain

Custom JIRA domain URL

jql_query

Specific query string to specify criteria for fetching

fields

List of fields that are downloaded in each issue

username

the JIRA username

password

the JIRA password/API token

save_folder_path

Path that files will be saved in .json format

max_results

(optional) the [maximum number of results](https://confluence.atlassian.com/jirakb/how-to-use-the-maxresults-api-parameter-for-jira-issue-search-rest-api-1251999998.html) to download per page. Default is 50.

max_total_downloads

Maximum downloads per function call. This parameter specifies how many issues should be downloaded. Subsequent API calls will stop if they reach or surpass this value.

verbose

Set verbose=TRUE to print execution details.

Details

If the directory is empty, then all issues will be downloaded. This function can therefore be used in the specified folder to continuously refresh available issues and/or comments data.

See Also

download_jira_issues_by_date to download JIRA issues and/or comments by date range

download_jira_issues_by_issue_key to download JIRA issues and/or comments by issue key range

download_jira_issues for more flexibility in specifying the JQL query

parse_jira to parse jira data with or without comments

parse_jira_latest_date to retrieve the file path of the latest issue key

Other downloaders: download_jira_issues_by_date(), download_jira_issues_by_issue_key(), download_jira_issues()

Other jira: download_jira_issues_by_date(), download_jira_issues_by_issue_key(), download_jira_issues()


sailuh/kaiaulu documentation built on Dec. 10, 2024, 3:14 a.m.