REST API integration of systems like Jira?

English! place to talk about development, programming and coding
Post Reply
disciple
Znuny newbie
Posts: 62
Joined: 31 Jul 2022, 12:27
Znuny Version: 6.4.2
Real Name: David Müller

REST API integration of systems like Jira?

Post by disciple »

I am not sure if I am in the right board.

I am wondering if there is a good sample of how to create a REST API client in Znuny to access a system like jira (in my case a custom API, but publishes to jira an other internal systems)?


E.g. I know how to access the external system via REST+JSON
My caller json will be mostly created based on Ticket title, ticket dynamic field values and thus can be "strin gconcatenated"
And I also know the result json, I can do regex extractions (if this is the right path to solve)


So in my case I would like to trigger a Znuny process step, which executes the REST API client. This result I want to regex into a dynamic field.

Are there any samples to solve with the existing features in Znuny? Means do I need custom development for this case or does this work out of the box with Znuny?
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: REST API integration of systems like Jira?

Post by root »

Hi,

This is possible out-of-the box with Znuny and the Generic Interface. There are some examples in the manual how to create outbound requests: https://doc.znuny.org/manual/admin/webs ... index.html

Start with this, grabbing data out of the response can be solved with the response handling

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Post Reply