i want to create a ticket having a specific CRT. I managed to create the ticket (issue) without it but still don't get how works with an CRT?
I tried to add the custom field used for it from an existing ticket ("customfield_10001") but still no luck, whatever i put there as value(s).
Maybe i totally misunderstand the concepts here to follow... after all, i'm not a Jira administrator but an programmer having a API user given to work with.
Before we try to answer what might be the wrong question, could you clarify what "CRT" is?
In Jira-speak, a customer request type or request type is not a custom field. Could you confirm that you really do have a field that is called "customer request type" and if so, what type of field it is (text, (multi-)select, radio, etc)
Thanks for asking Nic, i try to answer as good as i can...
CRT was my short for "Customer Request Type". We have this field which populates with different selections, depending on the issuetype (here it was set to "Service request" and tho these multiselection values appear):
When i load this issue from Jira (Service Desk) using the API i find this as "customfield_10001":
"name": "Zugriff beantragen",
"friendly": "Vor 2 Tagen 09:06",
I hope this is what you wanted to know?!
Yes, sort of.
That is the Service Desk request type, it's represented as a custom field in the REST API output because that's how Service Desk gets a handle on it and links it to an issue,
But you can see it's quite a complex "field" from that data, and you can't just set or edit it directly.
Requests are different entities to issues, although they all have a single unique issue behind them.
For working with requests, you'll want to use the REST API over at https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-request/#api-rest-servicedeskapi-request-post - expand the section in the left-hand panel called "Request"
You're not far off thinking they're the same thing. There is a 1:1 relationship between each one, and a request cannot exist without an issue.
I usually describe a request as a layer on top of an issue, or something that wraps around one, rather than a completely separate object.
Jira is an issue tracker, so it has an object to track - the issue. That has fields, workflow, history, comments, etc. Jira users work with these.
Jira Service Desk/Management adds Requests, which add functions and data on top of an issue, mostly the layer of stuff the customer gets to see. The issue it is wrapped around still does the fields, workflow and so-on. The request even has the same key - it's using the issue it is wrapped around to provide that!
So, you can create issues without any request stuff on them, but you can't create requests without an issue to support them!
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event