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!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Building Momentum: Splunk Developer Program at .conf25

At Splunk, developers are at the heart of innovation. That’s why this year at .conf25, we officially launched ...