@managed-api/jira-on-prem-v8-sr-connect
v2.0.0
Published
Adaptavist Managed API for Jira On-Premise for ScriptRunner Connect environment
Downloads
7
Keywords
Readme
ScriptRunner Connect Managed API for Jira On-Premises
Managed API for Jira On-Premises is an API Client for Jira On-Premises 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
- Application
- Dashboard
- Filter
- Group
- Instance
- Issue
- assignIssue
- createIssue
- deleteIssue
- editIssue
- getIssue
- sendNotification
- Attachment
- Comment
- Field
- Link
- Metadata
- Notification
- Scheme
- Priority
- Property
- Resolution
- Search
- Security
- Scheme
- Subtask
- Transition
- Type
- Vote
- Watcher
- Worklog
- Myself
- Permission
- Project
- archiveProject
- createProject
- deleteProject
- getComponents
- getProjects
- getProject
- getStatuses
- getVersionsPaginated
- getVersions
- restoreProject
- updateProject
- updateProjectType
- Component
- Issue
- Security
- Scheme
- Security
- Notification
- Scheme
- Permission
- Scheme
- Priority
- Scheme
- Role
- Security
- Type
- Validation
- Version
- Role
- Screen
- User
- Workflow
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 { JiraOnPremApi } from '@managed-api/jira-on-prem-v8-sr-connect';
export default async function() {
const api = new JiraOnPremApi('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.
1.2.0
- Added support for custom fields in
Issue.editIssue
. - Added
null
type toduedate
field.
- Added support for custom fields in
Copyright Adaptavist 2022 (c) All rights reserved