# Condition for webhook

**URL:** <https://community.developer.atlassian.com/t/condition-for-webhook/8483>\
**Category:** Atlassian Developer Tools\
**Tags:** webhook\
**Created:** [September 11, 2017, 1:59pm UTC](https://community.developer.atlassian.com/t/condition-for-webhook/8483 "2017-09-11T13:59:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![avelit](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/avelit/32/36264_2.png) [@avelit](https://community.developer.atlassian.com/u/avelit)\
**Post date:** [September 11, 2017, 1:59pm UTC](https://community.developer.atlassian.com/t/condition-for-webhook/8483/1 "2017-09-11T13:59:38Z")

</div>

I have figured out issue for webhooks: inline condition does not work.  
[https://developer.atlassian.com/static/connect/docs/latest/concepts/context-parameters.html#inline-conditions](https://developer.atlassian.com/static/connect/docs/latest/concepts/context-parameters.html#inline-conditions)  
simplest ‘?adminMode={condition.is\_admin\_mode}’ provides param without value  
but it works wor general page

Is it possible to use condition or inline condition or add-on properties in propertyKeys for webhooks?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![epehrson](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/epehrson/32/35813_2.png) [@epehrson](https://community.developer.atlassian.com/u/epehrson)\
**Post date:** [September 11, 2017, 3:21pm UTC](https://community.developer.atlassian.com/t/condition-for-webhook/8483/2 "2017-09-11T15:21:13Z")

</div>

@avelit, these backlog issues track improvements related to filtering/conditions and context parameters for webhooks:

[https://ecosystem.atlassian.net/browse/AC-1692](https://ecosystem.atlassian.net/browse/AC-1692)  
[https://ecosystem.atlassian.net/browse/AC-1817](https://ecosystem.atlassian.net/browse/AC-1817)  
[https://ecosystem.atlassian.net/browse/AC-1824](https://ecosystem.atlassian.net/browse/AC-1824)

Property expansion is only supported for the entity affected by the event, e.g. the issue for an `issue_updated` event. You could raise a feature request to have other entities supported as well, but I doubt we would implement it.
