Hi,
I am trying to connect jira with freshdesk throught an automation rule.
FD provides a GET endpoint for retrieving ticket information when using the proper query.
I am using the query parameter in the GET endpoint, and it works as expected when tested in Postman, but in jira automation I always encounter an error.
GET api:
https://test.freshdesk.com/api/v2/search/tickets?query="tag:%27{{issue.key}}%
I am using the correct headers for content-type and authorization
Error in Jira is:
Your outgoing web request configuration is invalid. Please fix the following errors and try again.
Could you help me understand what might be causing this issue?
Community moderators have prevented the ability to post new answers.
HI @Marica S
Welcome to the community.
What if you replace %27 with the right character?
%27 is '
So the call url would be: https://test.freshdesk.com/api/v2/search/tickets?query="tag:'{{issue.key}}'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Marica S
If you use it without '
So the call url would be: https://test.freshdesk.com/api/v2/search/tickets?query="tag:{{issue.key}}
As the error relates that the call is invalid.
So the API on Freshdesk side is telling the call is failing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Marc -Devoteam- same error :/ I tried everything, but problem still exist
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Marc -Devoteam- I managed to solve it!
the query should look like this:
query=%22tag%3A%27{{issue.key}}%27%22
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So the Freshdesk API needs to have special characters in a call converted to HTML encoding.
That's not mentioned :(.
Might be something to raise to them.
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.