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
When using pysnyk to create a Jira issue with priority as an argument (integer 1-5, with 1 being highest), the response always results in a 422. jira_issue = project.jira_issues.create( vuln.id, { "project": {"id": config.JIRA.PROJECT_ID}, "issuetype": {"id": config.JIRA.ISSUE_TYPE_ID}, "summary": f"{project.name} - {vuln.title} in {vuln.package}", "description": generate_jira_description(project.id, vuln), "priority": determine_jira_priority(vuln.severity, vuln.cvssScore) }, )
However, the UI manages to set the designated priority successfully.
The text was updated successfully, but these errors were encountered:
When using pysnyk to create a Jira issue with
priority
as an argument (integer 1-5, with 1 being highest), the response always results in a 422.jira_issue = project.jira_issues.create( vuln.id, { "project": {"id": config.JIRA.PROJECT_ID}, "issuetype": {"id": config.JIRA.ISSUE_TYPE_ID}, "summary": f"{project.name} - {vuln.title} in {vuln.package}", "description": generate_jira_description(project.id, vuln), "priority": determine_jira_priority(vuln.severity, vuln.cvssScore) }, )
However, the UI manages to set the designated priority successfully.
The text was updated successfully, but these errors were encountered: