mirror of
https://github.com/corda/corda.git
synced 2025-03-01 20:24:29 +00:00
add more information to jira ticket (#812)
This commit is contained in:
parent
346c05a72f
commit
478558bd8a
@ -58,11 +58,14 @@ class CsrJiraClient(restClient: JiraRestClient, projectCode: String) : JiraClien
|
||||
}
|
||||
|
||||
val data = mapOf("Requested Role Type" to certRole.name,
|
||||
"Common Name" to subject.commonName,
|
||||
"Organisation" to subject.organisation,
|
||||
"Organisation Unit" to subject.organisationUnit,
|
||||
"State" to subject.state,
|
||||
"Nearest City" to subject.locality,
|
||||
"Country" to subject.country,
|
||||
"Email" to email)
|
||||
"Email" to email,
|
||||
"X500 Name" to subject.toString())
|
||||
|
||||
val ticketDescription = data.filter { it.value != null }.map { "${it.key}: ${it.value}" }.joinToString("\n") + "\n\n{code}$request{code}"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user