Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
@axway-api-builder-ext/api-builder-plugin-fc-jira
Advanced tools
Use this connector to integrate with the JIRA Cloud Platform
Use this connector to communicate with the JIRA Cloud-Platform and make it part of your API-Management platform. It is based on the JIRA Cloud-Platform API (https://developer.atlassian.com/cloud/jira/platform/rest/v2/) and works On-Premise or with the Cloud-Instance.
After installing and restarting your API-Builder project you get the following connector:
Which can be used to communicate with your JIRA-Instance to Create, Update issues.
In order to use the plugin you need to configure your JIRA-Account details in the configuration file: jira-jira-cp-connector.default.js
.
We recommend to setup your configuration in a environmentalized way keeping sensitive information away from the source-code repository..
module.exports = {
// The configuration settings for the OAS2 flow-node: JIRA Cloud Platform API
pluginConfig: {
'@axway-api-builder-ext/api-builder-plugin-fc-jira': {
'jira-cp-connector': {
// It is possible to override URI options when constructing
// outbound requests to this service.
uri: {
// protocol: 'https',
// host: 'hostname',
// port: 443,
// basePath: '/api'
}
}
}
},
// The following authorization credentials needed to use this service.
// Please follow this guide to manually configure these credentials:
// https://docs.axway.com/bundle/api-builder/page/docs/developer_guide/credentials/index.html
authorization: {
credentials: {
'JIRA Cloud Platform API HTTP Basic Authentication': {
type: 'basic',
username: null,
password: null
}
}
}
};
At the moment the plugin only supports HTTP-Basic based authentication. How to obtain the required API-Token you can read in the official documentation:
https://developer.atlassian.com/cloud/jira/platform/basic-auth-for-rest-apis/
Details how to setup the HTTP-Basic credentials in API-Builder:
https://docs.axway.com/bundle/api-builder/page/docs/developer_guide/credentials/configuring_credentials/http_basic_credentials/index.html
Once the configuration is complete, the JIRA flow can be used.
The JIRA-Connector is based on the JIRA REST-API, hence understanding how the API works is a good start. You may install and use the Atlassian Developer Toolbox to learn the how the REST-API works.
A general recommendation during development / integration is to create entities likes issues in JIRA using the UI and read them to understand the structure.
Using the project id and issue type id:
Body:
{
"fields": {
"project":
{
"id": "10000"
},
"summary": "No REST for the Wicked.",
"description": "Creating of an issue using IDs for projects and issue types using the REST API",
"issuetype": {
"id": "10005"
}
}
}
Using the project key and issue type name:
Body:
{
"fields": {
"project":
{
"key": "TP"
},
"summary": "No REST for the Wicked.",
"description": "Creating of an issue using IDs for projects and issue types using the REST API",
"issuetype": {
"name": "Bug"
}
}
}
More examples can be found here: https://developer.atlassian.com/server/jira/platform/jira-rest-api-examples/
This error message is a bit misleading, as HTTP-Basic Auth still works, but you have to use an API-Token instead of your passwrd. Please double check you are using a valid API-Token. This error message appears, when the authentication fails using basic auth.
Tested with JIRA Cloud Platform 8.5.1
See Change-Log
Please read Contributing.md for details on our code of conduct, and the process for submitting pull requests to us.
Axway Team
FAQs
Use this connector to integrate with the JIRA Cloud Platform
The npm package @axway-api-builder-ext/api-builder-plugin-fc-jira receives a total of 5 weekly downloads. As such, @axway-api-builder-ext/api-builder-plugin-fc-jira popularity was classified as not popular.
We found that @axway-api-builder-ext/api-builder-plugin-fc-jira demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.