Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JIRA Software RAML for Mulesoft Integration

Pranjal Shukla July 5, 2022

We would like to onboard JIRA API's to Mulesoft using RAML specification. Is there a way where we can convert an existing JIRA WADl to RAML, has anybody tried that?

 

We are doing this for better API governance and would like to block certain REST API's for some users, especially the Admin ones (Operations that are performed by SysAdmins).

 

Any leads should help.

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 5, 2022

No, you'll need to do all the work of conversion by hand, translating the bits you think you want.

Jira's REST API respects the permissions within the system, there's no need to block API access by user - all you have to do to stop them using admin functions over REST is not give them Admin rights in the application.  There are some REST APIs that, if blocked, will stop the application working in the UI as well.

You really don't want to be doing any REST API blocking.

Pranjal Shukla July 6, 2022

Thanks Nic,

Note that we intend to block the API's only from Mulesoft Gateway and not permanently from every channel (UI and REST accessed from non mulesoft channel).

We just want to avoid any untoward situation because mulesoft platform is a shared platform in our organization and mulesoft developer have access to most of the resources. We want to avoid any inadvertent operation that may lead to deletion of some artifacts from the instance hence we want to block some API's.

 

Coming to API Spec, i see that Atlasssian has published WADL for JIRA REST API but when I try to convert that to RAML, it fails as it flags too many errors. I tried on appmatic.io

 

Is there a way we can generate a RAML specification of current REST API? 

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 6, 2022

As I said, you'll need to convert it by hand if your tool can't do it.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.20.3
TAGS
AUG Leaders

Atlassian Community Events