Skip to content

Commit 5fcc034

Browse files
s-santillankhorne3
andauthored
add bit about multiple labels (xs size) (#1948)
* add bit about multiple labels * Update docs/semgrep-appsec-platform/jira.md Co-authored-by: Katie Horne <[email protected]> --------- Co-authored-by: Katie Horne <[email protected]>
1 parent d4abf73 commit 5fcc034

File tree

1 file changed

+13
-3
lines changed
  • docs/semgrep-appsec-platform

1 file changed

+13
-3
lines changed

docs/semgrep-appsec-platform/jira.md

+13-3
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,7 @@ Optionally, you can customize the Jira field mappings and indicate which values
9292
* Components (including Compass components)
9393

9494
![Jira configuration screen for field data mappings](/img/jira-configure-defaults.png#md-width)
95-
_**Figure.** The Jira configuration screen for field data mappings._
96-
97-
> Click **Field mapping help** to see a list of the Semgrep fields available for mapping.
95+
_**Figure.** The Jira configuration screen for field data mappings. Click **Field mapping help** to see a list of the Semgrep fields available for mapping._
9896

9997
The integration supports the use of custom Jira issue types and custom fields. However, it does not support field types other than those listed above. If you have a required field of a different type in your project, it will not be possible for Semgrep to map a value to that field, and issue creation will fail.
10098

@@ -111,6 +109,18 @@ Repeat these steps for each mapping you want to create. When done, click **Save
111109
Ensure a 1:1 mapping between the Jira issue type field values and the Semgrep values.
112110
:::
113111

112+
#### Multiple labels
113+
114+
You can map multiple labels to a single Semgrep field when creating a field mapping. In the **Add mapping** dialog:
115+
116+
1. Select **Labels** under **Jira fields**.
117+
1. Select **Set a static value** under **Semgrep fields**. A text box appears.
118+
1. Enter each label, separated by a comma. Each of these labels are then added to the ticket.
119+
120+
:::tip
121+
The **Project tag** Semgrep field also creates multiple labels.
122+
:::
123+
114124
### Example mapping
115125

116126
Semgrep's **Severity** field can have the following values: `Low`, `Medium`, `High`, and `Critical`. The following Jira field setups can be used to capture this information:

0 commit comments

Comments
 (0)