SpecSync Documentation
Jira
Jira
  • Introduction to SpecSync for Jira
  • Getting started
    • Getting started using SpecFlow
    • Getting started using Cucumber or other Gherkin-based BDD tool
  • Installation & Setup
    • Install as .NET tool
    • Install as .NET Console App
    • Install as native binaries for Linux or macOS
    • Install as Docker image
    • Setup and Configure
  • Features
    • Push features
      • Pushing scenario changes to Test Cases
      • Configuring the format of the synchronized test cases
      • Synchronizing Scenario Outlines
      • Update Test Case fields
      • Attach files to Test Cases using tags
      • Customization: Setting Test Case fields with default values
      • Customization: Update custom Test Case fields on push
      • Customization: Ignoring marked Test Case steps
      • Customization: Ignoring Test Case Tags
      • Customization: Ignore non-supported local tags
      • Customization: Mapping tags
      • Customization: Synchronizing scenarios from feature branches
      • Customization: Automatically link changed Test Cases
      • Customization: Synchronize linked artifact titles
      • Customization: Do not synchronize title
    • Pull features
      • Pulling Test Case changes to local scenarios
    • Common synchronization features
      • Configuration key
      • Remote scope
      • Linking Work Items using tags
      • Synchronizing Test Case hierarchies
      • Excluding scenarios from synchronization
      • Synchronization conflict resolution
    • Test result publishing features
      • Publishing test result files
    • General features
      • Jira authentication options
      • Configuration file
      • Hierarchical configuration files
      • Local test case conditions
      • Configuration wizards
      • SpecSync plugins
    • Customizations
    • Plugin list
  • Licensing
  • Guides
    • What is my Jira server URL?
    • Jira Test Case Management (TCM) solution
    • How to define the local feature-set to be synchronized
    • Filters and scopes
    • How to use SpecSync from build or release pipeline
    • How to upgrade to a newer version of SpecSync
    • How to attach files to test results
    • Using SpecSync with Cucumber
    • Using SpecSync with Cypress
    • Using SpecSync with Postman
    • Using SpecSync with TestNG
    • Using SpecSync on macOS or Linux
    • Using SpecSync inside a Docker container
    • Migrating from SpecSync v1 to v5
  • Changelog
  • Release Model and Roadmap
  • Downloads
  • Reference
    • Command line reference
      • init
      • upgrade
      • push
      • pull
      • publish-test-results
      • version
    • Configuration reference
      • toolSettings
      • local
      • remote
      • jira
      • knownRemotes
      • synchronization
        • push
        • pull
        • links
        • attachments
        • format
        • fieldUpdates
      • hierarchies
      • publishTestResults
      • specFlow
      • customizations
    • Compatibility
    • Older versions
  • Contact
    • SpecSync Support
    • Troubleshooting
    • FAQ
  • Project Website
Powered by GitBook
On this page
  • Options
  • Examples

Was this helpful?

  1. Reference
  2. Command line reference

pull

PreviouspushNextpublish-test-results

Last updated 2 years ago

Was this helpful?

Pulls changes from Jira server to the local repository. This by default includes creation of new scenarios from unlinked test cases (create) and changing scenarios of linked test cases (change).

See more details about the command in the article.

Options

In addition the the options listed here, all can also be used.

Option
Description
Default

--tagFilter

not filtered by tags

--sourceFileFilter

not filtered by feature files

--createOnly

If specified, the command will create new scenarios for the unlinked Test Cases only and the existing scenarios will not be modified. This setting automatically enables the 'enableCreatingScenariosForNewTestCases' pull setting.

false

--force

If specified, SpecSync changes scenarios even if there is no remote change and the scenario was not modified locally.

false

The Creating new scenarios from Test Cases feature and the related --createOnly option is planned for a future version of SpecSync for Jira. Please check the for details.

Examples

Pulls remote changes from Jira using the configured settings in the specsync.json configuration file:

dotnet specsync pull

Pulls remote changes using the specified for authentication:

dotnet specsync pull --user 52yny...........................nycsetda

Pulls remote changes related to the scenarios tagged with @ordering and @backend:

dotnet specsync pull --tagFilter "@ordering and @backend"

Pulls unlinked Test Cases to new scenarios but ignores changed Test Cases:

dotnet specsync pull --createOnly

A of scenarios that should be included in the current synchronization (e.g. @current_sprint and @done). See for details.

A with source file predicates (glob patterns) of files that should be included in the current synchronization (e.g. Folder1/**/*.feature). See for details.

Command line reference
local test case condition
Filters and scopes
local test case condition
Filters and scopes
Pulling Test Case changes to local scenarios
Roadmap
common command line options
Personal Access Token (PAT)