Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Impact of setting custom field value from scripted field

Is anybody aware of the impact of setting custom field value from the scripted field? Please help me to understand it.

I needed to fetch the scripted field data from DB. I copied the scripted field value in another custom field so that I can fetch the duplicated custom field from DB, but not sure what would be the impact of this.

2 answers

Hello Vedant,

From what you described, it shouldn't cause much issue if you are copying the Scripted Field value from another custom field. 

Perhaps you can share more on the Scripted Field configuration (like its type and script) and the custom field you are copying it from (using what ScriptRunner features to copy, the custom field type, and script) then we can look further into it. 

Regards, 

Thanks for the response @Benz Kek _Adaptavist_.

 The scripted field is a result of some calculations performed using groovy code and returning the value in number format. As you know we cannot fetch this scripted field data from the DB, so I'm trying to set another custom field value from a scripted field code. So that the duplicated custom field can be fetched from the DB.

But not sure about the impact of this, have you come across such cases?

0 votes
John Funk Community Leader Mar 16, 2021

Hi Vedant - what does the value look like? And what type of custom field is it?

Just because it came in from a scripted field, I don't see anything that would cause an issue. 

Thanks for the response @John Funk .

The scripted field is a result of some calculations performed using groovy code and returning the value in number format. 

Like John Funk likes this
John Funk Community Leader Mar 18, 2021

I think you should be good then. 

Like Vedant Kulkarni likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

104 views 1 7
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you