Comments (1)
I honestly have no idea whether this is intended to be possible or not in the generic interface.
However, I can not make it work in anyway neither using python-otrs (where multiple dynamic fields should be a list), nor by directly calling the endpoint with a soap envelop. It seems that including the same dynamic field twice with different conditions has the result that the dynamic field part is being ignored altogether.
Best way to make this work seems to be ask for the tickets before and the tickets after, then take the intersection:
df1 = DynamicField(Name='ResolvedDate', Value='2018-08-01 00:00:00', Operator="GreaterThanEquals")
df2 = DynamicField(Name='ResolvedDate', Value='2018-08-05 00:00:00', Operator="SmallerThan")
tickets_after = client.tc.TicketSearch(Queues='QUEUENAME',StateIDs=['2'],dynamic_fields=[df1])
tickets_before = client.tc.TicketSearch(Queues='QUEUENAME',StateIDs=['2'],dynamic_fields=[df2])
tickets_between = list(set(tickets_after ) & set(tickets_before )))
from python-otrs.
Related Issues (20)
- Security flaw HOT 3
- Little Question HOT 9
- Not able to re-use stored session_id properly HOT 3
- TicketSearch with mutiples States HOT 2
- ticket PendingTime State HOT 2
- "out of memory" Exception while retrieving ticket with ~1G attachements HOT 3
- Invalid Webservice Name but returning SessionID HOT 1
- TicketGet problem(delete, plz) HOT 1
- Ticket search with multiple StateIDs results in Traceback HOT 1
- Missing ticket.merge HOT 2
- Completion SessionGet operations question HOT 3
- Ticket Pending time HOT 1
- Error with ScriptAlias HOT 1
- TicketCreate() assumes falsely that a ticket number looks like a number (an int) HOT 3
- base64 encoding for attachments with Python 3 HOT 1
- In otrs/objects.py, assumptions made by "autocast" are error-prone (for values with a leading zero) HOT 1
- getchildren deprecation is resolved by PR HOT 1
- Rewrite tests to work with https://hub.docker.com/r/juanluisbaptiste/otrs
- Make Python 3 only.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-otrs.