@managed-api/jira-cloud-v3-sr-connect
v3.7.0
Published
Adaptavist Managed API for Jira Cloud for ScriptRunner Connect environment
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
- readWorkflows
- searchWorkflows
- updateWorkflows
- 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 Community hub.
Changelog
3.7.0
Renamed the following methods:
- Get create issue types metadata that can be used as
Issue.Metadata.getCreateIssueTypesMetadataorAll.getCreateIssueTypesMetadatahas been renamed toIssue.Metadata.getIssueTypesMetadataForCreateIssueorAll.getIssueTypesMetadataForCreateIssue. - Get create field metadata that can be used as
Issue.Metadata.getCreateFieldMetadataorAll.getCreateFieldMetadatahas been renamed toIssue.Metadata.getFieldsMetadataForCreateIssueorAll.getFieldsMetadataForCreateIssue. - Get edit metadata that can be used as
Issue.Metadata.getEditMetadataorAll.getEditIssueMetadatahas been renamed toIssue.Metadata.getMetadataForIssueEditorAll.getMetadataForIssueEdit.
- Get create issue types metadata that can be used as
3.6.0
Added support for the following methods:
- Read workflows that can be used as
Workflow.readWorkflowsorAll.readWorkflows. - Update workflows that can be used as
Workflow.updateWorkflowsorAll.updateWorkflows. - Search workflows that can be used as
Workflow.searchWorkflowsorAll.searchWorkflows. - Get create issue types metadata that can be used as
Issue.Metadata.getCreateIssueTypesMetadataorAll.getCreateIssueTypesMetadata. - Get create field metadata that can be used as
Issue.Metadata.getCreateFieldMetadataorAll.getCreateFieldMetadata.
- Read workflows that can be used as
Deprecated the following methods:
- Get create issue metadata that can be used as
Issue.Metadata.getCreateMetadataorAll.getCreateIssueMetadata. - Create workflow that can be used as
Workflow.createWorkfloworAll.createWorkflow. - Get workflows paginated that can be used as
Workflow.getWorkflowsPaginatedorAll.getWorkflowsPaginated. - Search priorities that can be used as
Issue.Priority.searchPrioritiesorAll.searchIssuePriorities. - Get transition properties that can be used as
Workflow.Transition.Property.getTransitionPropertiesorAll.getWorkflowTransitionProperties. - Update transition property that can be used as
Workflow.Transition.Property.updateTransitionPropertyorAll.updateWorkflowTransitionProperty. - [Create transition property](https://developer.atlassian.com/clou
- Get create issue metadata that can be used as
