Search
K
Comment on page

Service Macros

When creating dynamic queries in scorecards, you may want to reference data pertaining to the current service being scored. Configure8 allows you to reference the following properties for use in your queries:
service.name
service.repositoryPath
service.metadata.[metadataKeyName
To use the service macros, simply enclose the macro above in {{ }} in the query you're specifying. For example, if you were using the JIRA scorecard check and wanted to define a dynamic query using a service's JIRANickname metadata key as a parameter, the JQL could use the macro in the following manner:
component = ‘{{service.metadata.JIRANickname}}’
Copyright © 2023 configure8, Inc. All rights reserved.