3.2.0 • Published 6 months ago

@managed-api/jira-cloud-v3-sr-connect v3.2.0

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
6 months ago

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

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

3.2.0

  • Added support for the following method:

    • Get attachment content that can be used as Issue.Attachment.getAttachmentContent or All.getIssueAttachmentContent.

3.1.0

  • Updated ADF code_inline_node and formatted_text_inline_node types.

3.0.0

  • Added support for the following method:

  • Deprecated the following method:

  • Changed the following methods:

    • Jql.parseQuery: Make validation required in the request.
    • Issue.Security.getMembers: Change issueSecurityLevelId to string in the request.
    • User.Search.findUserKeysByQuery: Remove maxResults from request and add maxResult.
    • Issue.getIssue: Add failFast, expand and returnIssue to request.
    • User.Search.findIssuesAssignableToUser: Add issueId to request.
    • Added optional properties to the responses of several methods.

2.3.0

  • Reverted back to 2.1.0 version

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 in IssueCommonFields.

1.0.0

  • Added support to pass key property for project field, name property for issuetype, fixVersions, priority, versions, resolution fields for the following methods:

    • Create issue that can be used as Issue.createIssue or All.createIssue.
    • Bulk create issue that can be used as Issue.createIssues or All.createIssues.
    • Edit issue that can be used as Issue.editIssue or All.editIssue.

0.22.0

  • Custom fields can be added to field object in following Issue methods:

    • Create issue that can be used as Issue.createIssue or All.createIssue.
    • Bulk create issue that can be used as Issue.createIssues or All.createIssues.
    • Edit issue that can be used as Issue.editIssue or All.editIssue.

0.20.0

  • Added support for the following Issue.Priority method:

    • Search priorities that can be used as Issue.Priority.searchPriorities or All.searchIssuePriorities.
  • The following methods are no longer deprecated:

    • Get notification scheme that can be used as Issue.Notification.Scheme.getScheme or All.getIssueNotificationScheme.
    • Get resolution that can be used as Issue.Resolution.getResolution or All.getIssueResolution.
    • Get priority that can be used as Issue.Priority.getPriority or All.getIssuePriority.

0.18.0

3.2.0

6 months ago

3.1.0

8 months ago

3.0.0

8 months ago

2.3.0

8 months ago

2.2.0

8 months ago

2.1.0

1 year ago

2.0.0

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago