Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to open workitem in browser

Hi,

I have created a plugin which creates work item programatically and want to open that newly created work item into the browser. When new workitem will be create then the workitem should be open in browser.
Can any one have idea about how to open work item in browser?


Thanks

0 votes

Comments

That's quite curious request. Is the plugin a server plugin or client plugin? If a server plugin, where would the browser appear? Can you explain the work flow that you have in mind?

This is the server follow up action. 

Flow is that, when we add any of the approval, if user change the state of the approval then new work item will be created using follw up action. 
Requirement is : When new workitem will be create then directly that work item should be open in browser or in new tab.
How we can implement this feature.



One answer

Permanent link
Although one can state pretty much any requirement in words, if these can be implemented is a totally different matter. Don has already hinted the sore points in your requirements. Here a summary:
  • The Server follow up action works in the server It could open a browser window. This browser window would appear on the server window, which likely will not be shown anywhere
  • To open a browser on the machine where the user clicks the button, the server
    • would have to know the machine
    • Would have means to communicate to the machine to open a new browser window
I don't think you have access to the information needed in the follow up action. So you can create the item, but I don't think you have the means to open the item in a browser on the client machine.

0 votes

Comments

Hi Ralph,

Thanks for reply.
The requirement is that, the browser is already open on system.
In CCM when user will change the approval state of the workitem at that time workitem will create grammatically. I just wanted to open those newly created work item in "work item editor presentation". I have an Id of that work item. 
Is it possible to open those workitem in editor presentation using work item Id.

This link is for client side : https://jazz.net/forum/questions/91049/how-do-you-open-workitem-if-you-have-the-id 


I am looking for server side solution.

The browser is the client. I don't know if the server operational behavior does know about the browser connection and could do something in the JavaScript of the client.

My assumption would be that this is not the case. Creating a Linked Defect from a Work Item Editor Toolbar Action -Work Item Web UI customization might be a valid option, otherwise I can't answer this question.

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Apr 15 '16, 8:25 a.m.

Question was seen: 1,804 times

Last updated: Apr 20 '16, 4:41 a.m.

Confirmation Cancel Confirm