Skip to main content

Hi Anirudh

 

We are facing issues while updating Major Incident tickets.

 

See the below postman call

 

image.png

 

 

Here is the update URL we are using

https://d3v-devopsintegration.freshservice.com/api/v2/tickets/1244

Its a PUT call

 

Here are the request params we tried

 

{

"type":"Major Incident",

"tags": "

"devops",

"azure_4237"

],

"custom_fields": {

"paragrah": "1",

"devops": "4237"

}

}

 

and we also tried

 

{

"tags": >

"devops",

"azure_4237"

],

"custom_fields": {

"paragrah": "1",

"devops": "4237"

}

}

 

image.png

 

 

Please help us on this on urgent basis

 

Let me know if you need any other additional information

 

Thanks

Hello @support@devopsintegration.io, I don’t know about others, but I am not able to see your images of the response to your API calls. Might also want to address this issue over in the Developer Community, here.


@zachary.king  Thanks that’s what i was looking for

 

I will post the issue to Developer Community

 

Thanks


Hey there!

I’m just getting started with JSON and API requests myself, so I totally understand where you’re coming from. Here’s a look at what you’ve got so far:

  1. URL Check: Your URL looks right for updating a ticket:

     
    bash

    Copy code

    https://d3v-devopsintegration.freshservice.com/api/v2/tickets/1244

  2. Authentication: Make sure you’re including your API key in the request headers. It should look something like this:

     
    makefile

    Copy code

    Authorization: Basic <your_base64_encoded_api_key>

  3. Using PUT: You’re using PUT, which is the right method for updating. Just double-check that Freshservice expects PUT for this operation.

  4. Field Names: Double-check the names of the custom fields you’re trying to update. For example, make sure "paragrah" is spelled correctly and matches what Freshservice expects.

  5. Tags: Your tags look good, but ensure they’re set up correctly in Freshservice and valid.

  6. Error Messages: If you’re getting any error messages, those can be really helpful in figuring out what’s wrong. If you can share them, I can perhaps help troubleshoot further.

some simple Troubleshooting Steps:

  • Start Small: Try making a very basic update to see if it works. For instance:

     
    json

    Copy code

    { "type": "Incident" }

    If that works, you can add more fields step-by-step.

  • Check the Docs: Refer to the Freshservice API documentation to make sure you’re using the correct format and fields.


Hi @BartVB

 

 

Thanks for your response here. But its throwing same issue 

See Postman response here