-
|
Hi everyone, i added a connection to jira, now i'd like to add the cvssV3BaseScore or the vector to my ticket. Through looking at the template i guessed it could be subject.vulnerability.cvssV3BaseScore, which doesn't work. Is there a doc for this or could anyone provide a solution? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
this is my current template |
Beta Was this translation helpful? Give feedback.
-
|
` { |
Beta Was this translation helpful? Give feedback.
`
{
"fields": {
"project": {
"key": "{{ jiraProjectKey }}"
},
"issuetype": {
"name": "{{ jiraTicketType }}"
},
"summary": "[{{ notification.group | escape(strategy="json") }}] {% if notification.group == "NEW_VULNERABILITY" %} New {{ subject.vulnerability.severity | lower }} vulnerability identified: {{ subject.vulnerability.vulnId }}{% elseif notification.group == "NEW_VULNERABLE_DEPENDENCY" %}Vulnerable dependency introduced on project {{ subject.component.project.name | escape(strategy="json") }}{% else %}{{ notification.title | escape(strategy="json") }}{% endif %}",
{% if notification.group == "NEW_VULNERABILITY" %}
"description": "A new vulnerability has been identified on your proj…