Transient Custom field in Jira

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.




2 answers

1 accepted

1 vote

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

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Fadoua M. Boualem
Published Monday in Trello

Using Trello to manage events

As a Jira power user, I was at first doubtful that Trello could benefit my workflow. Jira already uses boards (ones you can customize!), so why would I even need to use Trello?! In this post you will...

476 views 7 8
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you