@managed-api/jira-cloud-v3-sr-connect
v3.6.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.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 that can be used as
Workflow.Transition.Property.createTransitionPropertyorAll.createWorkflowTransitionProperty. - Delete transition property that can be used as
Workflow.Transition.Property.deleteTransitionPropertyorAll.deleteWorkflowTransitionProperty.
- Get create issue metadata that can be used as
Changed the following methods:
- Create filter that can be used as
Filter.createFilterorAll.createFilter. Thejqlproperty is now required in the request.
- Create filter that can be used as
3.4.0
Changed the following methods:
- Create Project. Updated request parameters to require at least one of the following:
projectTypeKeyandprojectTemplateKey.
- Create Project. Updated request parameters to require at least one of the following:
3.2.0
Added support for the following method:
- Get attachment content that can be used as
Issue.Attachment.getAttachmentContentorAll.getIssueAttachmentContent.
- Get attachment content that can be used as
3.1.0
Updated ADF
code_inline_nodeandformatted_text_inline_nodetypes.
3.0.0
Added support for the following method:
- [Search for issues using JQL enhanced search](https://developer.atlassian.com/cloud/jira/platform/rest/v3/ap
