ScriptRunner -> Bulk Import Custom Field Values custom field support -> Calculated Text Field

Hi Folks,

Attempting to import into a Custom Calculated Text Field but the is not presented in the drop down selection under Built-in Scripts. Using Adaptavist ScriptRunner for JIRA Version:4.2.0.5. Is this custom field supported for import, if not what options exist here?

 Thanks in advance.

2 answers

2 votes
Steven Behnke Community Champion Feb 22, 2016

"Calculated" and "script" fields are provided by the add-ons Misc Custom Fields and Script Runner respectively. Another add-on includes "SIL script fields". All of these fields are similar, their value is the result of a script or calculation. Within this assumption, these types are read only fields in almost all circumstances. They sum other fields, they return HTML results, etc and so forth. You cannot and should not be entering a value.

As Udo mentions, you will not be able to import these, they would need to be one of the types he mentions OR they need to extend those types.

To add the last step - import your issue data without thinking about your calculated fields.   Their values will be calculated as you run the import, as though the script had been run when the user had typed the data in.

You can only import values into custom fields that have defined options like Select List, Multi Select List, Multi Check Boxes, Radio Button and Cascading Select List.

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
Bridget Sauer
Published Apr 10, 2018 in Marketplace Apps

Learn about how Stefan K. built one of the *first ever* Marketplace apps

In this post you will discover more about the evolution of K15t software, some big topics they're currently focusing on in the app space, and a rare (not not funny!) photo of founders Mike Cannon-Bro...

13,086 views 11 24
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