It's all about the answers!

Ask a question

RPE javascript popup for variable custom attribute date


Michael Toole (31168) | asked Sep 29 '14, 7:31 p.m.
 I want to have a javascript to popup a windows asking for a date and then query a custom attribute that is a date within the workitems rest api. 



Comments
Donald Nong commented Sep 30 '14, 2:31 a.m.

Can you please elaborate the use case? I can't really understand what you are trying to do.


Michael Toole commented Sep 30 '14, 9:17 a.m. | edited Sep 30 '14, 9:24 a.m.


Michael Toole commented Sep 30 '14, 9:21 a.m.

 ok, sorry it was late LOL


In RPE, i need to provide a popup that asks for a date that the query will use the date as part of the query.

the date is a custom attribute date

1.  how do i take the popup variable and make it a wild card 
   example.... if the date is 2014-09-18T17:00:00.000Z
   how can i have the end user put in just 09-18-2014  and it pull all the workitems on that date without the time stamp?


Jonas Studer commented Oct 01 '14, 5:30 a.m.

Sory but I still don't really get what you want!

You can set DateStamps on your query... so whats the matter?
Use the "DueDate" Parameter.

Accepted answer


permanent link
Michael Toole (31168) | answered Oct 01 '14, 1:50 p.m.
 i figured it out...
i have a popup from a javascript with a variable that will query the custom attribute date with a contains and it works...

Thanks for trying.
Ralph Schoon selected this answer as the correct answer

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.