customizations
Last updated
Was this helpful?
Last updated
Was this helpful?
This configuration section contains settings for configuring customizations.
The following example shows the available options within this section.
fieldDefaults/enabled
Enables the customization.
false
fieldDefaults/defaultValues
A list of key-value pair, where the key is the canonical name of the field to be updated (e.g. System.Description
) and the value is the default value to be used when the test case is created.
mandatory
customFieldUpdates/enabled
Enables the customization.
false
customFieldUpdates/updates
mandatory
ignoreTestCaseSteps/enabled
Enables the customization.
false
ignoreTestCaseSteps/ignoredPrefixes
An array of prefixes. The test case steps that start with any of the listed prefixes (case-insensitive) will be ignored by the synchronization.
mandatory
ignoreTestCaseTags/enabled
Enables the customization.
false
ignoreTestCaseTags/tags
An array of tag specifiers. The tag specifier can be a tag (e.g. mytag
) or a tag prefix with tailing wildcard (e.g. ado-tag*
- ignores tags like ado-tag-important
). The test case tags that match to any of the listed tag specifiers will be ignored by the synchronization.
mandatory
Can be used to specify supported tags. SpecSync will only synchronize the supported tags and ignore all others. See Customization: Ignore non-supported local tags for details.
ignoreNotSupportedLocalTags/enabled
Enables the customization.
false
ignoreNotSupportedLocalTags/supportedTags
The list of local (scenario) tags that can be synchronized to Jira. The list can contain full tag names (e.g. @my-tag1
) or tag name prefixes with tail wildcard (e.g. @my-tag*
).
empty (no tags are supported)
ignoreNotSupportedLocalTags/notSupportedTags
The list of local (scenario) tags that cannot be synchronized to Jira. This setting cannot be used together with 'supportedTags'. The list can contain full tag names (e.g. @my-tag1
) or tag name prefixes with tail wildcard (e.g. @my-tag*
).
supportedTags
setting is used
tagTextMapTransformation/enabled
Enables the customization.
false
tagTextMapTransformation/textMap
Character or substring replacement rules in 'X':'Y' format, where 'X' is a substring in Gherkin tag and 'Y' is a substring in Jira tag.
mandatory
branchTag/enabled
Enables the customization.
false
branchTag/prefix
The tag prefix to be used for linking scenarios that are updated on a branch. E.g. the prefix tc.mybranch
will generate tags, like @tc.mybranch:1234
.
mandatory
linkOnChange/enabled
Enables the customization.
false
linkOnChange/links[]/targetId
The ID of the work item or pull request to link the Test Case to. Placeholders, like {env:ENVIRONMENT_VARIABLE}
can be used.
mandatory
linkOnChange/links[]/targetType
The type of the Jira work item the link refers to. It is verified at the time the link is established.
can link to any work item type
linkOnChange/links[]/relationship
Tests
linkOnChange/links[]/linkTemplate
Specifies the HTTP link template of the related artifact. The link template can use the specified value using the {id}
placeholder.
no template used
synchronizeLinkedArtifactTitles/enabled
Enables the customization.
false
synchronizeLinkedArtifactTitles/linkTagPrefixes
Specifies the issue links to be considered.
mandatory
doNotSynchronizeTitle/enabled
Enables the customization.
false
Enables setting default values to test case fields. Useful for custom Jira process templates. See for details.
The fieldDefaults
customization setting is a shortcut for configuring the . The example above is equivalent to the following fieldUpdates
setting:
Enables updating test case fields that are normally not changed by SpecSync. See for details.
A list of key-value pair, where the key is the canonical name of the field to be updated (e.g. System.Description
) and the value is the template to be used to update the field. The template can contain placeholders listed in the .
The customFieldUpdates
customization setting is a shortcut for configuring the . The example above is equivalent to the following fieldUpdates
setting:
Can ignore (leave unchanged) test case steps with a specific prefix. See for details.
Can ignore (leave unchanged) test case tags. See for details.
Can substitute characters or sub-strings in tags when synchronizing to Jira. E.g. underscores (_
) in scenario tags can be represented with spaces in Test Case tags. See for details.
Supports synchronization of scenarios on feature branches. See for details.
Allows linking changed Test Cases to a work item or pull request, related to the change. See for details.
Specify the relationship for the created link. E.g. specifying Parent
means that the linked work item will be the parent of the test case work item. For linking Pull Requests it has to be set to Pull Request
and GitHub Pull Request
for GitHub Pull Requests (see details in our ).
Allows synchronizing linked artifact (issue) titles back to the local test case tags in @story:P01-123;This_is_the_story_title
format. See for details.
Skips synchronizing the Test Case title field (Summary, Name). See for details.