hi developers
i want to have my own searchrequest xml not the one that construct via filtering, but i have little problem , i dont know how can i implement "or" between 2 custom field :
my xml search request is here:
<?xml version='1.0' encoding='UTF-8'?>  
<searchrequest name='myOwnSearchRequest'>   
 <parameter class='com.atlassian.jira.issue.search.parameters.lucene.ProjectParameter'>   
 <projid andQuery='false'>   
 <value>10140</value>    
 </projid> 
 </parameter>  
 <parameter class='com.atlassian.jira.issue.search.parameters.lucene.IssueTypeParameter'>  
 <type andQuery='false'>    
 <value>4</value>  
 <value>3</value>     
 </type>  
 </parameter>
 <parameter class='com.atlassian.jira.issue.search.parameters.lucene.UserParameter'>  
 <customfield_10491 name='customfield_10491' value='issue_current_user'/>  
 </parameter>  
 
 <parameter class='com.atlassian.jira.issue.search.parameters.lucene.UserParameter'>   
 <customfield_10533 name='customfield_10533' value='issue_current_user'/>   
 </parameter> 
 <sort class='com.atlassian.jira.issue.search.SearchSort'>    
 <searchSort field='issuekey' order='DESC'/>  
 </sort> 
 </searchrequest>
i want to implement OR query between "customfield_10491" value and 'customfield_10533" value!!
thank you in advance
S.A
Which version of JIRA are you using? You can't have OR in versions prior to JIRA 4. In JIRA 4+, you should use JQL to write OR conditions.
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.