Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How can I add condition and a client-condition for a client-web-item?

Kaushik Veluru
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 29, 2017

I would like to display a client-web-item only when it satisfied two conditions. But the catch is I have one client-condition and one condition. 

I have tried to see if I could implement the client-condition so that I can add it as a condition under conditions with type AND but that didn't work. 

So, is there a way I can have both client-condition and a condition for a client-web-item? What is the syntax?

 

Thanks,

Kaushik

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Kaushik Veluru
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 30, 2017

<client-web-item>

      <label></label>

      <link></link>

      <styleClass></styleClass>

      <condition></condition>

      <client-condition></client-condition>

      <dependency></dependency>

</client-web-item>

 

This is how my client-web-item looks like in atlassian-plugin.xml. I didn't have to combine them under <conditions>. 

 

 

TAGS
AUG Leaders

Atlassian Community Events