cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
gmacaire
Regular Visitor

Copy Zendesk tickets to Redmine based on Zendesk tags

Hello,

 

I'd like to copy some Zendesk tickets to different Redmine projects, based on specific Zendesk tags.

 

 

My problem is that the Zendesk trigger returns "[List]" for the tags attribute (an array, https://developer.zendesk.com/rest_api/docs/core/tickets) and I don't know how I can iterate on this array or check if it contains a specific value ?

 

Any ideas ?

 

Thanks.

 

Guillaume

1 ACCEPTED SOLUTION

Accepted Solutions
gmacaire
Regular Visitor

Eventually, I didn't manage to do it using the Zendesk "ticket created" trigger ("[List]" value seems to be nothing else but a string).  

So I ended up by doing an HTTP call to Zendesk API just after the trigger. This allowed me to get a full JSON representation of the created ticket, to extract Zendesk related tags, and to compute the Redmine issue priority based on multiple Zendesk ticket attributes.

 

Note : I tried to use a "Get Element" Zendesk action instead of an HTTP action but I've had a GatewayTimeout exception.

View solution in original post

4 REPLIES 4
v-yamao-msft
Community Support
Community Support

Hi gmacaire,

 

Please consider to add a Condition in your flow to see if it will meet your needs.


We could use a Condition to specify that a flow performs one or more tasks only if a particular condition is true. Please see this doc for more details:
https://flow.microsoft.com/en-us/documentation/add-a-condition/


Best regards,
Mabel Mao

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I already tried to use a condition but it seems that I can't use a "simple condition" (using GUI). I'm trying to use advanced mode to create a "complex" condition but I'm new to MS Flow and its ecosystem, so I'm currently reading the docs. If you have links I should read to understand MS Flow beyond the GUI, I'd really appreciate. 🙂

 

Currently reading https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-workflow-definition-language. If I'm at the wrong place, don't hesitate to tell me... 🙂

 

Thanks

gmacaire
Regular Visitor

Eventually, I didn't manage to do it using the Zendesk "ticket created" trigger ("[List]" value seems to be nothing else but a string).  

So I ended up by doing an HTTP call to Zendesk API just after the trigger. This allowed me to get a full JSON representation of the created ticket, to extract Zendesk related tags, and to compute the Redmine issue priority based on multiple Zendesk ticket attributes.

 

Note : I tried to use a "Get Element" Zendesk action instead of an HTTP action but I've had a GatewayTimeout exception.

View solution in original post

Did anyone figure this out in the end? @gmacaire 

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (87,106)