All Apps and Add-ons

Jira Service Desk Custom Fields

MikkaBora
Loves-to-Learn

Hello.

During issue creation with Jira Service Desk  , custom fields get ignored i.e. an issue gets created with mandatory fields, like  description, summary, etc., however custom fields are not populated

Syntax of CF like 

"customfield_21264": "Hello" 

______________________________________________

I can successfully set this CF  if I create issue via HTTP with Curl

$ curl -k -u 'account:password' --request POST --url 'https://jira-host/rest/api/2/issue' --header 'Accept: application/json' --header 'Content-Type: application/json' --data '{"fields": { "project": { "key": "PROJ" }, "summary": "Pictures", "description": "SIEM-Eng", "issuetype": {"name":"Event"}, "customfield_21264": "Hello"}}'
Labels (1)
Tags (1)
0 Karma

MikkaBora
Loves-to-Learn

UPD:

The root cause has been identified, according to log

 

LOG

2023-08-14 13:24:37,690 ERROR pid=116436 tid=MainThread file=cim_actions.py:message:292 | sendmodaction - signature="Failed to load jira_customfields="{customfield_21264": "Hello}" as a proper formated JSON object with exception="Expecting property name enclosed in double quotes: line 1 column 2 (char 1)"" action_name="jira_service_desk" sid="1692012268.44302" orig_sid="scheduler__nobody_REJHX1VTRV9DQVNFX1RFU1RfQVBQ__RMD50e36bf240caf243c_at_1692001800_50431" rid="0" orig_rid="0" app="SplunkEnterpriseSecuritySuite" user="xxx" 
action_mode="adhoc" action_status="failure"

The first and the last quotas (") get cut by parser

="Failed to load jira_customfields="{customfield_21264": "Hello}"

Solution pending 😕

0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...