Access Keys:
Skip to content (Access Key - 0)
Live Chat

Get all the Available Filter Rules

Skip to end of metadata
Go to start of metadata
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
For information regarding the entities used in the Filter Rules CRUD, please visit Entities Used in Filter Rules CRUD page.

You can get a list of all the available filter rules by using the following command(s):

Commands:

GET /em/api/filter-rules
GET /em/api/filter-rules.xml
GET /em/api/filter-rules.js

Response in XML:

HTTP/1.0 200 OK
 <list>
  <filter-rule>
    <id>4028807b2a9db359012a9db6c99e0001</id>
    <applyTo>2</applyTo>
    <name>ddd</name>
    <action>0</action>
    <regexMatch>ddd</regexMatch>
    <regexReplace />
    <creatorId>9</creatorId>
    <creationDate>1282546248000</creationDate>
    <active>true</active>
    <logging>false</logging>
  </filter-rule>
</list>

Response in JSON:

HTTP/1.0 200 OK
[{id : "4028807b2a9db359012a9db6c99e0001", creationDate : new Date(1282546248000), 
creatorName : null, name : "ddd", creatorId : "9", action : 0, regexReplace : "", 
regexMatch : "ddd", active : true, logging : false, applyTo : 2}]
Adaptavist Theme Builder (4.2.0) Powered by Atlassian Confluence 3.3, the Enterprise Wiki