The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I store user input from a Velocity Template into a Active Object?

Yiraphic __ Peeters
November 29, 2017

I want to create a velocity template consisting of a few fields to use in a web-panel for the view-isssue screen. The fields should contain information retrieved from a Active Object Entity. The user is then able to change the values inside these fields. If there is no data stored ub the Active Object for the current issue the user input will be stored as a new entry.

So basically I want to update the values in the Active Object Entity with the new values entered by the user in a Velocity Template for a web-panel. Is this possible and if so how can I achieve this?

I have looked at servlets and web actions but as far as I know I can't put these inside a web-panel.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
November 29, 2017

Hello,

I do not ask why you do not want to store values in custom fields. But it is possible. Develop Rest Api in your plugin and store data in ao through the rest api. You can call your rest api from your velocity templates and pass values of required fields to your rest api