It's all about the answers!

Ask a question

Customization of work flow of a work item using server side plugin?


lakshmi jyothsna (3711) | asked Jul 06 '20, 8:50 a.m.

 Hi All,


Is it possible to customize the work flow of the RTC work item , by adding new states between two existing states in the work flow using plug in?
Can we get the flow chart of the work flow of the work item automatically from the RTC by any means (using plugin or any other way)?
Kindly answer to the above questions. Thanks in advance.

Waiting for the reply...
Regards,
Jyothsna.

Accepted answer


permanent link
Ralph Schoon (62.9k33645) | answered Jul 06 '20, 1:19 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Jul 06 '20, 1:30 p.m.
  1. No, you can't customize the workflow that way.
  1. You can get the state and transition information using the Java API. See https://rsjazz.wordpress.com/2012/11/26/manipulating-work-item-states/ . The workflow is also in the process XML, if you lake to process that more. You can use visulization tools of your choice to render and show it. When you have rendered it it can be presented. See https://jazz.net/library/article/1093 last lab at the end. 
lakshmi jyothsna selected this answer as the correct answer

Comments
lakshmi jyothsna commented Jul 07 '20, 12:03 a.m.

Hi Ralph,

Thanks you.
Please let me know , is it possible to attach a image file in the description of the work item in RTC while creating the work item using plugin ?  Kindly let me know is there any alternative ways too? 
Thanks in advance.


Ralph Schoon commented Jul 07 '20, 3:02 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You should not use automation to attach images to a work item.

You should read https://jazz.net/library/article/1093 last lab at the end. 

lakshmi jyothsna commented Jul 15 '20, 4:46 a.m.
Hi Ralph,
Thank you, the lab guide you suggested is worked for me.
But just with curiosity, can we make the images in the wiki type attribute Clickable or mouse-over highlighting? Currently we make this as static images , can we make them as dynamic responsive to the user actions? If so, kindly provide the solution. Waiting for ur helping hand again..
Thanks,
Jyothsna.

Ralph Schoon commented Jul 15 '20, 4:49 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

I don't think you can. You need to store them as images and they have to be stored exactly the way explained. You can not point to a web location where you render them as far as I know. The wiki would not show it. It only shows it because it is a hover capability within the work item feature.


lakshmi jyothsna commented Jul 15 '20, 4:57 a.m.
Hi Ralph,
thanks a lot for your quick reply.

Your answer


Register or to post your answer.