Hi Everyone,
I am developing a JIRA plugin right now. However, I want this plugin only work for a sepesific project. How to do this?
For example, my atlassian-connect.json is
"modules": { "webPanels" :[ { "location": "atl.jira.view.issue.right.context", "url": "/helloworld.html", "key": "support-panel", "name": { "value": "Support Group" } } ] }
I only want the project "IOTSG" issues can see this web panel on the right side. How to do this?
Thanks,
Jennifer.
Hi Jennifer,
you should look at conditions for the addon descriptor.
Documentation is here: https://developer.atlassian.com/static/connect/docs/latest/concepts/conditions.html
You should be able to leverage those to put a custom condition in your addon for the project you want. Worst case scenario, you might have to write an entity-property with the project key, and then reference the entity-property in your condition.
Cheers,
- Anthony
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you worked through the concepts in the documentation Anthony gave?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.