jiraCloud/config/requestTypeFields.json
jmcqueen d0e1e20843 Improve Webex approval card layout and remove duplicate fields.
Split the card header into separate blocks for readability and keep reporter only in the footer instead of details.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-28 11:22:51 -04:00

293 lines
13 KiB
JSON

{
"_meta": {
"description": "Per-request-type fields to show on Webex approval notifications. Regenerate raw schemas with: node scripts/discover-request-type-fields.js",
"lastReviewed": "2026-07-28",
"serviceDesks": {
"CHANGE": "135",
"REQUEST": "136"
},
"notes": [
"Some REQUEST forms only expose summary via the JSM field API (dynamic/legacy forms). Those types use summaryOnly — do not attach personIdentity unless discovery shows those fields.",
"Request type 382 was retired in Jira; use 194 (Service Request) on desk 136.",
"fieldId 'summary' uses issue.fields.summary. Use path for nested webhook/transition data.",
"format hints: text | option | user | datetime | cmdb | multiselect | textarea"
]
},
"common": {
"displayFields": [
{ "path": "transition.transitionName", "label": "Approval step" },
{ "path": "transition.from_status", "label": "From status" },
{ "path": "transition.to_status", "label": "To status" },
{ "path": "user.displayName", "label": "Moved by" },
{ "fieldId": "priority", "label": "Priority", "format": "option" },
{ "fieldId": "assignee", "label": "Assignee", "format": "user" },
{ "fieldId": "created", "label": "Created", "format": "datetime" },
{ "fieldId": "updated", "label": "Updated", "format": "datetime" }
]
},
"groups": {
"personIdentity": {
"description": "Shared person block on many REQUEST access forms",
"displayFields": [
{ "fieldId": "customfield_10346", "label": "Last name" },
{ "fieldId": "customfield_10314", "label": "First name" },
{ "fieldId": "customfield_10318", "label": "Position/Title" },
{ "fieldId": "customfield_10310", "label": "Employment type", "format": "option" },
{ "fieldId": "customfield_10419", "label": "Network user name" },
{ "fieldId": "customfield_10316", "label": "Employee number" },
{ "fieldId": "customfield_10353", "label": "Department", "format": "cmdb" }
]
},
"serverInfrastructure": {
"description": "Server build / decommission shared fields",
"displayFields": [
{ "fieldId": "customfield_10319", "label": "Server type", "format": "option" },
{ "fieldId": "customfield_10336", "label": "Environment(s)", "format": "multiselect" },
{ "fieldId": "customfield_10397", "label": "Server hardware type", "format": "option" },
{ "fieldId": "customfield_10334", "label": "Server location & region", "format": "cascading" },
{ "fieldId": "customfield_10418", "label": "Application list", "format": "cmdb" },
{ "fieldId": "customfield_10320", "label": "Server name", "format": "cmdb" }
]
},
"changeManagement": {
"description": "Standard CHANGE approval context",
"displayFields": [
{ "fieldId": "customfield_10287", "label": "Change category", "format": "option" },
{ "fieldId": "customfield_10259", "label": "Impact level", "format": "option" },
{ "fieldId": "customfield_10257", "label": "Implementation date", "format": "datetime" },
{ "fieldId": "customfield_10252", "label": "Business justification", "format": "textarea" },
{ "fieldId": "customfield_10256", "label": "Business impact / risk", "format": "textarea" },
{ "fieldId": "customfield_10253", "label": "Testing completed", "format": "textarea" },
{ "fieldId": "customfield_10292", "label": "Rollback plan", "format": "textarea" },
{ "fieldId": "customfield_10242", "label": "Related systems/CIs", "format": "cmdb" },
{ "fieldId": "customfield_10302", "label": "Implementer", "format": "user" },
{ "fieldId": "customfield_10241", "label": "Related Jira key" }
]
},
"summaryOnly": {
"description": "Forms where JSM API only exposes summary — show summary + description",
"displayFields": [
{ "fieldId": "description", "label": "Description", "format": "textarea" }
]
}
},
"requestTypes": {
"177": {
"name": "Request a Change",
"project": "CHANGE",
"serviceDeskId": "135",
"includeCommon": true,
"groups": ["changeManagement"],
"displayFields": [
{ "fieldId": "customfield_10250", "label": "Business partner(s)", "format": "users" }
]
},
"179": {
"name": "Customer Technology Production Change",
"project": "CHANGE",
"serviceDeskId": "135",
"includeCommon": true,
"displayFields": [
{ "fieldId": "customfield_10257", "label": "Production deploy date", "format": "datetime" },
{ "fieldId": "customfield_10252", "label": "Business justification", "format": "textarea" },
{ "fieldId": "customfield_10256", "label": "Impacted services", "format": "textarea" },
{ "fieldId": "customfield_10253", "label": "Testing completed", "format": "textarea" },
{ "fieldId": "customfield_10292", "label": "Rollback plan", "format": "textarea" },
{ "fieldId": "customfield_10242", "label": "Configuration items", "format": "cmdb" },
{ "fieldId": "customfield_10250", "label": "Approvers", "format": "users" },
{ "fieldId": "customfield_10241", "label": "Related Jira key(s)" }
]
},
"183": {
"name": "Firewall Access",
"project": "CHANGE",
"serviceDeskId": "135",
"includeCommon": true,
"displayFields": [
{ "fieldId": "customfield_10309", "label": "Firewall request details", "format": "textarea" },
{ "fieldId": "customfield_10252", "label": "End result / justification", "format": "textarea" },
{ "fieldId": "customfield_10242", "label": "Application(s)", "format": "cmdb" },
{ "fieldId": "customfield_10302", "label": "Implementer", "format": "user" },
{ "fieldId": "customfield_10241", "label": "Related ticket" }
]
},
"186": {
"name": "Request Store Fixtures",
"project": "REQUEST",
"serviceDeskId": "136",
"includeCommon": true,
"displayFields": [
{ "fieldId": "customfield_10261", "label": "Store number", "format": "cmdb" },
{ "fieldId": "customfield_10689", "label": "Items requested", "format": "textarea" }
]
},
"187": {
"name": "New Server Build Request",
"project": "REQUEST",
"serviceDeskId": "136",
"includeCommon": true,
"groups": ["personIdentity", "serverInfrastructure"],
"displayFields": [
{ "fieldId": "customfield_10371", "label": "Active Directory group" },
{ "fieldId": "customfield_10244", "label": "Technical owner", "format": "users" }
]
},
"188": {
"name": "DI Access",
"project": "REQUEST",
"serviceDeskId": "136",
"includeCommon": true,
"groups": ["summaryOnly"],
"notes": "JSM field API returns summary-only form; summary field is labeled 'Brief Summary for DI Request'"
},
"189": {
"name": "IBMi Access",
"project": "REQUEST",
"serviceDeskId": "136",
"includeCommon": true,
"groups": ["personIdentity"],
"displayFields": [
{ "fieldId": "customfield_10352", "label": "IBMi applications", "format": "cmdb" },
{ "fieldId": "customfield_10365", "label": "Model after user", "format": "user" },
{ "fieldId": "customfield_10326", "label": "IBMi role", "format": "option" },
{ "fieldId": "customfield_10434", "label": "Environment", "format": "option" },
{ "fieldId": "customfield_10321", "label": "DC location", "format": "multiselect" }
]
},
"190": {
"name": "Server Access",
"project": "REQUEST",
"serviceDeskId": "136",
"includeCommon": true,
"groups": ["summaryOnly"],
"notes": "Legacy form — enrich via getIssue if more fields needed"
},
"191": {
"name": "Desktop Requests",
"project": "REQUEST",
"serviceDeskId": "136",
"includeCommon": true,
"groups": ["summaryOnly"],
"notes": "Summary field labeled 'Brief Description' on form"
},
"192": {
"name": "Contractor Conversion",
"project": "REQUEST",
"serviceDeskId": "136",
"includeCommon": true,
"groups": ["summaryOnly"]
},
"193": {
"name": "Onboard New Hire / Modify Existing User",
"project": "REQUEST",
"serviceDeskId": "136",
"includeCommon": true,
"groups": ["summaryOnly"],
"notes": "JSM field API returns summary-only form (portal label: Onboard New Hire)"
},
"197": {
"name": "Control M Job Request",
"project": "REQUEST",
"serviceDeskId": "136",
"includeCommon": true,
"groups": ["summaryOnly"],
"displayFields": [
{ "fieldId": "customfield_10255", "label": "Control-M job name" }
],
"notes": "Summary field is 'Brief Description of Control M Request' — job name and details are typically entered in summary text. customfield_10255 is shown when present on the issue."
},
"199": {
"name": "Contractor Extension",
"project": "REQUEST",
"serviceDeskId": "136",
"includeCommon": true,
"displayFields": [
{ "fieldId": "customfield_10387", "label": "Contractor name(s)", "format": "users" },
{ "fieldId": "customfield_10353", "label": "Contractor department", "format": "cmdb" },
{ "fieldId": "customfield_10299", "label": "Contractor manager", "format": "user" },
{ "fieldId": "customfield_10310", "label": "Employment type", "format": "option" },
{ "fieldId": "customfield_10366", "label": "Vendor name" },
{ "fieldId": "customfield_10410", "label": "Applications supported" }
]
},
"200": {
"name": "Corporate Credit Card Request",
"project": "REQUEST",
"serviceDeskId": "136",
"includeCommon": true,
"displayFields": [
{ "fieldId": "customfield_11367", "label": "Applicant", "format": "cmdb" },
{ "fieldId": "customfield_10401", "label": "Monthly travel frequency" },
{ "fieldId": "customfield_10373", "label": "International travel", "format": "option" },
{ "fieldId": "customfield_10354", "label": "Purchase types", "format": "textarea" }
]
},
"202": {
"name": "Enterprise Access",
"project": "REQUEST",
"serviceDeskId": "136",
"includeCommon": true,
"groups": ["summaryOnly"]
},
"203": {
"name": "Clarity Onboarding",
"project": "REQUEST",
"serviceDeskId": "136",
"includeCommon": true,
"groups": ["summaryOnly"]
},
"204": {
"name": "Server Decommission Request",
"project": "REQUEST",
"serviceDeskId": "136",
"includeCommon": true,
"groups": ["serverInfrastructure"],
"displayFields": [
{ "fieldId": "customfield_10353", "label": "Reporter department", "format": "cmdb" },
{ "fieldId": "customfield_10328", "label": "Server not found (manual entry)" }
]
},
"209": {
"name": "Application Access",
"project": "REQUEST",
"serviceDeskId": "136",
"includeCommon": true,
"groups": ["personIdentity"],
"displayFields": [
{ "fieldId": "customfield_10414", "label": "User location", "format": "cmdb" },
{ "fieldId": "customfield_10323", "label": "Date of hire", "format": "date" },
{ "fieldId": "customfield_10365", "label": "Model after associate", "format": "user" },
{ "fieldId": "customfield_10333", "label": "Atlassian Suite", "format": "cmdb" },
{ "fieldId": "customfield_10379", "label": "Data Insights apps", "format": "cmdb" },
{ "fieldId": "customfield_10331", "label": "Digital", "format": "cmdb" },
{ "fieldId": "customfield_10332", "label": "Finance", "format": "cmdb" },
{ "fieldId": "customfield_10427", "label": "IT", "format": "cmdb" },
{ "fieldId": "customfield_10393", "label": "HR", "format": "cmdb" },
{ "fieldId": "customfield_10404", "label": "Supply Chain", "format": "cmdb" }
],
"notes": "High-volume type. Only include CMDB groups that are populated on the issue to avoid card clutter."
},
"211": {
"name": "Database Access",
"project": "REQUEST",
"serviceDeskId": "136",
"includeCommon": true,
"groups": ["summaryOnly"]
},
"194": {
"name": "Service Request",
"project": "REQUEST",
"serviceDeskId": "136",
"includeCommon": true,
"displayFields": [
{ "fieldId": "customfield_10353", "label": "Department", "format": "cmdb" },
{ "fieldId": "customfield_10414", "label": "Location", "format": "cmdb" },
{ "fieldId": "customfield_10335", "label": "Reason for request", "format": "textarea" },
{ "fieldId": "customfield_10307", "label": "Implementation date", "format": "datetime" },
{ "fieldId": "customfield_10337", "label": "Reason for implementation date", "format": "textarea" },
{ "fieldId": "description", "label": "Detailed description", "format": "textarea" }
],
"notes": "Replaces retired request type 382. Transitions 81/101 inherited from 382 config — verify on first webhook."
}
}
}