Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

ServiDesk API Suddenly not return custom fields

Mauro Pellizzer February 14, 2020

Since my customer prefer to use only one ServiceDesk for their applications, I had created my ServiceDesk a custom field "Application" (it is a "Select List (single choice)").

customfield.png

To grant to my customer the availability of a CSV with the open issues, we developed a PHP script based on this REST API:

https://dummy.atlassian.net/rest/servicedeskapi/request/DUM-170

Where dummy is a placeholder for our domain and DUM-170 it is an example of request ID (gathered using https://dummy.atlassian.net/rest/servicedeskapi/servicedesk/BSD/queue/8/issue).

At the time we develop that (October 2019) the API returned our "Application" custom field in the JSON under requestFieldValues in the same way "Description" and "Summary" are returned. We had also other information this way as "Priority" and "Project".

code.png

Now the only fields we can found are "Description" and "Summary":

"requestFieldValues": [
{
"fieldId": "summary",
"label": "Subject",
"value": "Omiss"
},
{
"fieldId": "description",
"label": "Body",
"value": "Omiss",
"renderedValue": {
"html": "Omiss"
}
}
],

I checked other ServiceDesk methods to see if there is a way to get futher details, but there is not. The only way I found to get the information is to call the standard Jira call, is this the correct way to do that?

https://dummy.atlassian.net/rest/api/2/issue/12345

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events