Hi All,
I need to know if there is any custom field type which does not persist the value to the JIRA database.
We want to have a transient field that is available in the screen and in the eventListener but not store velue to the database.
Also we require the value to be refreshed every time we load the screen (Create/Update screens)
Any pointers will be helpful.
Thanks in advance.
-Parashar
You'll need some code, but you won't get all of this.
Updating a field on every view is a plain nightmare in terms of performance, and you have to hook into the core of JIRA to catch the view process. The only safe way to do it really is to write an addon that injects javascript which calculates and displays it on issue view.
That won't work for your event listener though.
If you are using the Server version of JIRA just create a simple field via Script Runner. I haven't used it for a while but we did exactly for calculations from associated JIRAs, e.g. summation of $ amounts etc
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.