Here I'm trying to upload a plugin to JIRA cloud
Goal is: if any events are created or resolved or it may be JIRA release, my json should receive that and trigger the mail to the users.
I created json and xml file as in tutorials:https://developer.atlassian.com/static/connect/docs/latest/guides/migrating-from-xml-to-json-descriptor.html
atlassian-connect.json
{
"name": "PlugIn",
"description": "Atlassian Connect add-on",
"key": "plug-in1",
"baseUrl": "https://3a48dc0a.ngrok.io",
"vendor": {
"name": "My Organization, Inc",
"url": "https://developer.atlassian.com"
},
"authentication": {
"type": "none"
},
"apiVersion": 1,
"modules": {
"webhooks": [
{
"event": "jira:issue_created",
"url": "/issue-created"
},
{
"event": "jira:issue_updated",
"url": "/issue-updated"
}
]
}
}
atlassian-plugin.xml
<?xml version="1.0" ?>
<atlassian-plugin key="plug-in1" name="PlugIn" plugins-version="2">
<plugin-info>
<description>Atlassian Connect add-on</description>
<version>1</version>
<vendor name="My Organization, Inc" url="https://developer.atlassian.com" />
</plugin-info>
<remote-plugin-container key="container" display-url="http://localhost:8000">
</remote-plugin-container>
</atlassian-plugin>
The url which i get after running ngrok, i'm uploading it to JIRA in manage add-on's, but i'm getting the error while uploading:
//The add-on descriptor failed to validate against the schema. Please confirm this add-on is intended for use with JIRA and then contact the add-on vendor.