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.createDateTime

service.lastChangedDateTime

service.isActive

service.repositoryPath

service.metadata.metadataKeyName

These types of metadata are supported as service macros:

  • Text

  • Nickname

  • Link

  • AutoMap

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}}’

Last updated

Copyright © 2023 configure8, Inc. All rights reserved.