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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Marketplace Apps

Three tips for boosting your board's efficiency with Story Maps

Trello is one of the most effective tools for driving your sprints. It's customizable for every Agile team and product owners and Scrum masters (SM) love it. However, Agile teams often struggle with:...

824 views 2 9
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