To add storypoint to a story via confiform

Shah November 18, 2024

 

Hi,

I have below code where "customfield_10002" refers to story points and should be in numeric.

The remaining customfields shown in the code refer to Team and EPIC link.

I want to populate "1" in the story point for every JIRA ticket created. While doing so, I am getting error "Unexpected error while saving the record. Please contact your Confluence support team for assistance. Details are available in the server logs"

If I remove this "customfield_10002"  field, rest of the form works fine. 
Any suggestion what I am doing wrong here?



 

{
    "fields": 
	{
		"project": {"key": "PWCTI"},
		"issuetype": {"name": "Story"},
		"priority": {"name": "Medium"},
        "summary": "BAU Request - [entry.rd1.escapeJSON]",
		"description"       : "[entry.rd1.escapeJSON] \n\n Requester Name : [entry.name] \n\n Requester Email: [entry.email] \n\n  Line Of Business : [entry.lobname1.escapeJSON] \n\n  Expected PROD Release Date : [entry.d2.formatDate(yyyy-MMM-dd)] \n\n ClarityID/Business Sponsoring Cost Center : [entry.clarity.escapeJSON] \n\n Notes (optional): \n\n [entry.notes.escapeJSON] \n\n Current LOB: [entry.lobname1.escapeJSON]  \n\n Target LOB: [entry.lobname2.escapeJSON] \n\n  User emails : \n\n [entry.usersemail.escapeJSON]",
		"customfield_19600": "13740",
		"customfield_10006": "PWCTI-3459",
		"customfield_10002": "0",
     }
}

1 answer

1 vote
Shah November 18, 2024

I got the answer - since Storypoints field is numeric - mentioned number should be without quote.

Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 18, 2024

Yes, numeric fields in Jira needs to be numeric in the JSON mapping

Like Shah likes this

Suggest an answer

Log in or Sign up to answer