I am trying to create customer detail fields in Jira Service Management (JSM) using the API. I am using the following curl
command:
curl --request POST \ --url 'https://api.atlassian.com/jsm/csm/cloudid/{cloudId}/api/v1/customer/details' \ --header 'Authorization: Bearer <access_token>' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --data '{ "name": "Region", "type": { "name": "SELECT", "options": [ "AU", "EU", "US" ] } }'
However, when I execute this command, I receive a 404 error with the following message:
404 Oops, you found a dead link. Navigate to the previous page Navigate to the Home Page Atlassian JIRA Project Management Software (v1001.0.0-SNAPSHOT#100275-Rev:1663ce7) About JIRA Report a problem Atlassian
I have attempted to resolve the issue by:
Despite these efforts, the error persists. It seems that others might have experienced similar issues, but I haven't found a solution that works for me.
Request for Assistance:
Any guidance or assistance in resolving this issue would be greatly appreciated.
Thank you.
Welcome to the community.
I made this call via postman and it executes successfully.
Did you get your {cloudId} via: https://my-site-name.atlassian.net/_edge/tenant_info
Replace my-site-name with your site name and replace {{cloudId}} in the request with the number found, without the "
I have performed the action using the specified Cloud ID in the link: https://miempresa.atlassian.net/jsm/csm/cloudid/[cloudidnumber]/api/v1/customer/details It’s still not working for me. I copied the Cloud ID number directly from the mentioned site and tried with users of different permission levels, but I’m still experiencing the same issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So you use this ID starting with 7051f366-...
And the API call:
https://api.atlassian.com/jsm/csm/cloudid/7051f366-.../api/v1/customer/details
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But returning to the core of the question, I need to know how to send clients with more fields than those that appear in the creation API.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This should work, I tested it via postman and this works flawless.
Try to to this via postman and if this does work, there is an issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
https://api.atlassian.com/jsm/csm/cloudid/60xxxx-xxxx-xxx-xxxx-xxxxxxxxx/api/v1/customer/details
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I do this in postman and all works as expected, so there is a flaw in your call.
The endpoint is correct and works.
Variables I use and I use basic auth with my user and related api token
post information and result
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Contact Atlassian Support in this case.
The endpoint is up and running.
Are you assigned a JSM license or are you just Jira admin?
I'm both.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.