@managed-api/jira-cloud-v3-sr-connect
v2.1.0
Published
Adaptavist Managed API for Jira Cloud for ScriptRunner Connect environment
Downloads
21
Keywords
Readme
ScriptRunner Connect Managed API for Jira Cloud
Managed API for Jira Cloud is an API Client for Jira Cloud 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
- Avatar
- Dashboard
- Filter
- Group
- GroupAndUserPicker
- Instance
- Issue
- assignIssue
- createIssue
- createIssues
- deleteIssue
- editIssue
- getChangeLogs
- getChangeLogsById
- getIssue
- sendNotification
- Attachment
- Comment
- Field
- getContexts
- getFields
- getFieldsPaginated
- Configuration
- Custom
- Link
- Metadata
- Navigator
- Notification
- Scheme
- Priority
- Property
- Resolution
- Search
- Security
- Transition
- Type
- Vote
- Watcher
- Worklog
- Jql
- Label
- Myself
- Permission
- Project
- createProject
- deleteProject
- deleteProjectAsync
- getProject
- getProjects
- getStatuses
- restoreDeletedProject
- updateProject
- Avatar
- Category
- Component
- IssueType
- Notification
- Scheme
- Permission
- Property
- Role
- Security
- Scheme
- Type
- Validation
- Version
- Screen
- User
- Workflow
- createWorkflow
- deleteWorkflow
- getWorkflows
- Scheme
- Status
- Transition
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 { JiraCloudApi } from '@managed-api/jira-cloud-v3-sr-connect';
export default async function() {
const api = new JiraCloudApi('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.4.0
Added
null
type to several fields inIssueCommonFields
.
1.0.0
Added support to pass
key
property forproject
field,name
property forissuetype
,fixVersions
,priority
,versions
,resolution
fields for the following methods:- Create issue that can be used as
Issue.createIssue
orAll.createIssue
. - Bulk create issue that can be used as
Issue.createIssues
orAll.createIssues
. - Edit issue that can be used as
Issue.editIssue
orAll.editIssue
.
- Create issue that can be used as
0.22.0
Custom fields can be added to field object in following Issue methods:
- Create issue that can be used as
Issue.createIssue
orAll.createIssue
. - Bulk create issue that can be used as
Issue.createIssues
orAll.createIssues
. - Edit issue that can be used as
Issue.editIssue
orAll.editIssue
.
- Create issue that can be used as
0.21.0
Updated OpenApi Specification
0.20.0
Added support for the following Issue.Priority method:
- Search priorities that can be used as
Issue.Priority.searchPriorities
orAll.searchIssuePriorities
.
- Search priorities that can be used as
The following methods are no longer deprecated:
- Get notification scheme that can be used as
Issue.Notification.Scheme.getScheme
orAll.getIssueNotificationScheme
. - Get resolution that can be used as
Issue.Resolution.getResolution
orAll.getIssueResolution
. - Get priority that can be used as
Issue.Priority.getPriority
orAll.getIssuePriority
.
- Get notification scheme that can be used as
0.18.0
The following methods are deprecated:
- Get priorities that can be used as
Issue.Priority.getPriorities
orAll.getIssuePriorities
. - Get priority that can be used as
Issue.Priority.getPriority
orAll.getIssuePriority
. - Get resolutions that can be used as
Issue.Resolution.getResolutions
orAll.getIssueResolutions
. - Get resolution that can be used as
Issue.Resolution.getResolution
orAll.getIssueResolution
. - Get notification scheme that can be used as
Issue.Notification.Scheme.getScheme
orAll.getIssueNotificationScheme
. - Get project notification scheme that can be used as
Project.Notification.Scheme.getScheme
orAll.getProjectNotificationScheme
.
- Get priorities that can be used as
Copyright Adaptavist 2024 (c) All rights reserved