@managed-api/jira-service-management-cloud-assets-sr-connect
v2.0.0
Published
Adaptavist Managed API for JSM Cloud Assets for ScriptRunner Connect environment
Downloads
13
Keywords
Readme
ScriptRunner Connect Managed API for Jira Service Management Cloud Assets
Managed API for Jira Service Management Cloud Assets is an API Client for Jira Service Management Cloud Assets by Adaptavist. You can read more about Managed APIs here.
This is ScriptRunner Connect runtime specific version of the Managed API (with sr-connect
suffix). If you want to use Managed API in any other runtime, have a look at the runtime agnostic version.
Supported API calls
- fetch
- Aql
- Config
- Global
- Icon
- Import
- Object
- createObject
- deleteObject
- getObject
- getObjectsByAql
- getObjectsWithAql
- updateObject
- Attribute
- History
- Reference
- Schema
- Ticket
- Type
- Progress
Constructing Managed API
In ScriptRunner Connect a Managed API is constructed for you, but if you need to construct it manually, here's how you can do it:
import { JiraServiceManagementCloudAssetsApi } from '@managed-api/jira-service-management-cloud-assets-sr-connect';
export default async function() {
const api = new JiraServiceManagementCloudAssetsApi('API_CONNECTION_ID');
}
Contact
Feel free to drop ideas, suggestions or improvements into our Slack community channel.
Changelog
2.0.0
Breaking change: URL and query string parameters are now URL encoded, meaning if you encoded them explicitly before you have to remove your own encoding, otherwise they will get double encoded.
Updated OpenApi Specification.
Added support for the following Object method:
- Fetch Objects by AQL that can be used as
Object.getObjectsByAql
orAll.getObjectsByAql
.
- Fetch Objects by AQL that can be used as
Copyright Adaptavist 2024 (c) All rights reserved