How to create "Copy incident number" like "Copy sys_id" (Context menus)?

prasanna7869
Mega Expert

Hi Team,

We need one requirement like below:

As all knows, we can copy the sys_id/copy URL from top of each ticket. In the same way, how can we copy the Particular incident ticket number with URL? we need to implement same link like copy the sys_id/copy URLcontect menus (Copy Incident Number).

For example, If I right click on incident ticket it will give incident number with url :like this INC001234

Please help me to provide solution.

Thanks & Regards,

Prasanna Kumar

15 REPLIES 15

Anurag Tripathi
Mega Patron
Mega Patron

a simple javascript code that will invoke window.prompt()   and have the number field populated in it.


JavaScript Popup Boxes


-Anurag

Thank you for your response Anurag. Yes, I tried this, But, how can we display the number with URL, Like: INC001234



The number should have the URL of that incident ticket.



Please advise how can we accomplish this change.



Thanks & Regards,


Prasanna Kumar


I didnt get you, do you want to show the hyperlink?


-Anurag

Yes, we need to show the number with hyperlink of that ticket URL.



Thanks & Regards,


Prasanna Kumar