jazz

How to get workitem based on modified date and time using RTC Java API

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-04 19:13:17
I want to query RTC with modified date. My query is to check modified date is same as given date and time but the response that I am getting is based on given date and it is ignoring time. Response: Queried Date: 08/07/2015 15:44:09 Id: 2583 Modified date :2015-08-07 14:43:19.157 Id: 2582 Modified date :2015-08-07 14:43:19.419 Ideally, both the records should not be received in response as it is before given time. Below is my code: IQueryableAttributeFactory factory = QueryableAttributes.getFactory( IWorkItem.ITEM_TYPE ); IQueryableAttribute recAttr1 = factory.findAttribute(projectArea, IItem

c# - WebRequest HTTP POST with Cookie (port from curl script)

拜拜、爱过 提交于 2019-12-04 07:46:23
问题 The IBM RTC RESTful api gives an example of a shell script for authenticating with the server: COOKIES=./cookies.txt USER=my_user PASSWORD=my_password HOST="https://myJazzServer:9092/jazz" curl -k -c $COOKIES "$HOST/authenticated/identity" curl -k -L -b $COOKIES -c $COOKIES -d j_username=$USER -d j_password=$PASSWORD "$HOST/authenticated/j_security_check" This works perfectly, however i need to authenticate with the server using c#. So far i have the following, but it isn't working (returns

c# - WebRequest HTTP POST with Cookie (port from curl script)

谁都会走 提交于 2019-12-02 16:24:39
The IBM RTC RESTful api gives an example of a shell script for authenticating with the server: COOKIES=./cookies.txt USER=my_user PASSWORD=my_password HOST="https://myJazzServer:9092/jazz" curl -k -c $COOKIES "$HOST/authenticated/identity" curl -k -L -b $COOKIES -c $COOKIES -d j_username=$USER -d j_password=$PASSWORD "$HOST/authenticated/j_security_check" This works perfectly, however i need to authenticate with the server using c#. So far i have the following, but it isn't working (returns the authorization failed page): CookieContainer _cookie; public string _RTC() { HttpWebRequest request =