Need a customized code that flips the status of the workitem automatically
Hello All,
IBM informed that they do not support attribute customization. I want to automate flipping the status of the workitem form 'resolved' to 'closed' Can anyone help on the same? Regards, Neha Lourenco |
One answer
can u describe a little more, what you mean by 'automate'.
some time later, or when something else happens? one can write code to do all kinds of things.. Comments
Neha Lourenco
commented Sep 10 '15, 7:40 a.m.
Sure Sam!!
Ralph Schoon
commented Sep 10 '15, 7:43 a.m.
| edited Sep 10 '15, 7:44 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You can do that in a participant and you can find relevant code here: https://rsjazz.wordpress.com/2012/11/27/resolve-parent-if-all-children-are-resolved-participant/
sam detweiler
commented Sep 10 '15, 7:44 a.m.
sounds like you have an extra state that you don't intend to use. (resolved).
I find the approach questionable however. Why don't you get rid of one of the states? If this is automatic, one of the states is not needed and should be removed from the workflow.
Neha Lourenco
commented Sep 10 '15, 7:53 a.m.
Hello Ralph/Sam,
Neha Lourenco
commented Sep 10 '15, 7:55 a.m.
Can you send me the contents of this link below,
These are two different work item types which likely have different workflows. It makes no sense that work items change their state automatically after 2 days or so. You can do that e.g. using a plain Java API application that queries the work items and then changes their states, but it seems to be pointless. What is the gain of information if you change the state automatically?
sam detweiler
commented Sep 10 '15, 8:02 a.m.
on the 'after two days', you will have to write some kind of scheduled job to find workitems to be changed and then change them.. you can do the first with a standard query to get the list of workitems in state A that have been there for x time.
showing 5 of 8
show 3 more comments
|
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.