When creating a ticket from an external source, the ticket right now is saying Jira for Channel type. I believe that has to do with the endpoint that we are using: rest/api/2/issue. However, has anyone had success in setting the Channel type using API?
My research has pointed me to conclude that I cannot manipulate this because it is meta data that is being set by Jira's system:
So how does one set Channel to API but what process would that value on a ticket read API if using APIs do not render it as such?
Hi @Joseph Hortch ,
Did you try creating via /rest/servicedeskapi/request?
https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-request/
Hello @Joseph Hortch
@Carlos Garcia Navarro is right.
request-channel-type is not a value you normally set yourself. Jira Service Management assigns it from the endpoint that created the ticket.
Create it through the regular Jira issue API, and it will show as Jira.
Create it through the JSM request API, and it will show as API.
That means, if you want the channel to be API, the request needs to be created through the JSM request endpoint, not the standard Jira create issue endpoint.
Also, if the real goal is to track which external system sent the request, I would store that separately in a custom field. That gives you much cleaner reporting later.
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.