Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hi,
It is possible to fill a field with text from mks window using the java API. The ideea is to call an addon which put some text into a field, egg. "Description" from Create OpenIssue window or any other. The addon is based on MKS Java API.
Thank you for your support.
Solved! Go to Solution.
This is possible providing the following assumptions are true:
Essentially, you would create the editissue API Command with the Option to set the field value of the Description field and also with the "gui" Option. Since the "gui" Option is used, the item edit will be presented to the user in a regular edit window with the Description field prepopulated. The field values that are set by the Java API are only saved if the user clicks OK or Apply and those field values can also be changed by the user (assuming proper editibility permissions etc.).
Please see the Integrations Builder Guide for more details.
Regards,
Dan Rusu
This is possible providing the following assumptions are true:
Essentially, you would create the editissue API Command with the Option to set the field value of the Description field and also with the "gui" Option. Since the "gui" Option is used, the item edit will be presented to the user in a regular edit window with the Description field prepopulated. The field values that are set by the Java API are only saved if the user clicks OK or Apply and those field values can also be changed by the user (assuming proper editibility permissions etc.).
Please see the Integrations Builder Guide for more details.
Regards,
Dan Rusu
Thank you for the solution.
I look for a solution to made this with a window initiated by MKS client and then call the addon to fill a specific field, but i guess i can manage this with your solution.