Forums

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

ScriptRunner Scripted Fields (Run As User)

Bojan Zekanovic August 13, 2018

Hello, 

I got my ScriptRunner Scripted field working, but I don't see values change in my issue history. Do I need to run the script field as a specific user or is there anything else I can do for field value change to show up in history?

Thanks,

1 answer

1 accepted

2 votes
Answer accepted
Nic Brough -Adaptavist-
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 Leaders.
August 13, 2018

Scripted fields are not fields in the usual sense of "something that holds and displays a data item".  Because they are calculated, they're not stored on the issue in the database. 

So when their value is recalculated, there is nothing written to the issue, and hence no history to write.  (Technically, this is not strictly true, but the easiest way to model this is to think of the value being stored only in the index, and not on the issue)

Bojan Zekanovic August 14, 2018

@Nic Brough -Adaptavist- thank you for this information. 

Suggest an answer

Log in or Sign up to answer