2.1.0 • Published 10 months ago

@managed-api/jira-cloud-v3-sr-connect v2.1.0

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
10 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

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

  • The following methods are deprecated:

    • Get priorities that can be used as Issue.Priority.getPriorities or All.getIssuePriorities.
    • Get priority that can be used as Issue.Priority.getPriority or All.getIssuePriority.
    • Get resolutions that can be used as Issue.Resolution.getResolutions or All.getIssueResolutions.
    • Get resolution that can be used as Issue.Resolution.getResolution or All.getIssueResolution.
    • Get notification scheme that can be used as Issue.Notification.Scheme.getScheme or All.getIssueNotificationScheme.
    • Get project notification scheme that can be used as Project.Notification.Scheme.getScheme or All.getProjectNotificationScheme.

Copyright Adaptavist 2024 (c) All rights reserved

2.1.0

10 months ago

2.0.0

1 year ago

1.4.0

1 year 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