How can I create a JIRA plugin which only visible in a specific project?

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.

1 answer

1 accepted

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

Thank you very much! I have a basic idea now.

Jennifer.

Could you please share you idea? I have the same requriement

Have you worked through the concepts in the documentation Anthony gave?

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

238 views 0 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot