You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: assemblies/assembly-configuring-scorecards-in-rhdh.adoc
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,8 @@
4
4
= Configuring Scorecards to view metrics in your {product} instance
5
5
:context: assembly-configuring-scorecards-in-rhdh
6
6
7
-
You can configure metrics and scoring capabilities from various data sources for software components in the {product-very-short} catalog.
7
+
You can configure one of the following Scorecards in your {product-very-short} instance using metrics and scoring capabilities from various data sources for software components in the {product-very-short} catalog:
8
8
9
-
You can configure either of the following Scorecards in your {product-very-short} instance:
Copy file name to clipboardExpand all lines: modules/observe/scorecards/proc-configuring-jira-scorecards-in-rhdh-instance.adoc
+3-7Lines changed: 3 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@
5
5
6
6
To view project tracking data from Atlassian Jira in your {product-very-short} instance, configure Jira Scorecards.
7
7
The following Jira versions are supported:
8
+
8
9
* Jira Cloud: API version 3
9
10
* Jira Data Center: API version 2
10
11
@@ -19,13 +20,13 @@ The following Jira versions are supported:
19
20
== Procedure
20
21
21
22
. Create a Jira configuration token using one of the following methods, depending on your Jira product:
22
-
** Jira Cloud: Create a personal token. You must then create a `Base64-encoded` string using the following plain text format: `your-atlassian-email:your-jira-api-token`.
23
+
** Jira Cloud: https://id.atlassian.com/manage-profile/security/api-tokens[Create a personal token]. You must then create a `Base64-encoded` string using the following plain text format: `your-atlassian-email:your-jira-api-token`.
** Jira datacenter: Create and use a Personal Access Token (PAT) in your Jira datacenter account.
29
+
** Jira datacenter: Create and use a Personal Access Token (PAT) in your Jira datacenter account. For more information, see the https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html[Atlassian] documentation.
29
30
30
31
. Configure the Jira Scorecard plugin in your `{product-very-short} dynamic-plugins-config.yaml` using either a direct setup or a proxy setup.
31
32
.. Use a direct setup (Recommended for simpler environments): Add the following code to your `{product-very-short} dynamic-plugins-config.yaml`:
@@ -41,7 +42,6 @@ plugins:
41
42
token: ${JIRA_TOKEN}
42
43
product: datacenter # Change to 'cloud' if using Jira Cloud
43
44
----
44
-
+
45
45
where:
46
46
`baseUrl`:: Enter the Jira URL.
47
47
`token`:: Enter the Jira token (Base64 string for Cloud, PAT for Data Center).
@@ -101,9 +101,7 @@ spec:
101
101
system: examples
102
102
providesApis: [example-grpc-api]
103
103
----
104
-
105
104
where:
106
-
107
105
`jira/project-key`:: Required: Enter the Jira project key.
108
106
`jira/component`:: Optional: Enter the Jira component name.
109
107
`jira/label`:: Optional: Enter the Jira label.
@@ -141,9 +139,7 @@ scorecard:
141
139
mandatoryFilter: Type = Task AND Resolution = Resolved
142
140
customFilter: priority in ("Critical", "Blocker")
143
141
----
144
-
145
142
where:
146
-
147
143
`mandatoryFilter`:: Optional: Replaces the default filter (`type = Bug and resolution = Unresolved`).
148
144
`customFilter`:: Optional: Specifies a global custom filter. The entity annotation `jira/custom-filter` overrides this value.
= Threshold rules to metrics for your Scorecard plugin
5
5
6
-
:_mod-docs-content-type: CONCEPT
7
-
8
6
You can override individual threshold rules for a specific component by using annotations in its `catalog-info.yaml` file. These annotations are merged with the existing global rules defined in your `{product-very-short} app-config.yaml` file.
0 commit comments