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

Scriptrunner post function: Update a custom text field with values from other custom fields Edited

We have a custom single text field XYZ.  In the workflow there is a transition with a post function "Create subtask".  In this post function we 'copy parent issue custom fields' which includes the field XYZ.   Whenever the value in field XYZ includes a url (i.e. it won't copy.  However, when the https:// is removed (i.e. it copies.

We are on JIRA 7.2.6.

Any advise?

1 answer

0 votes
Anton Chemlev Community Leader Nov 13, 2017

What type of field do you use for XYZ field? And to what type of field do you copy XYZ value?

It is a "Single Text Field"   I am copying it to the exact same custom field in a sub-task ticket.

Anton Chemlev Community Leader Nov 13, 2017

What plugin do you use to get this function? I'll try to reproduce.

It seems to me that you should try to use URL custom field type. It looks like a security feature to prevent embedding malicious urls. Maybe I'm wrong.

In the workflow transition I am using the post function "Create subtask" and in the field "Copy parent issue custom fields" I list the field XYZ (I don't specify the id, just the name).   This "Create subtask is from the plugin "Bob Swift Atlassian Add-ons - Create on Transition" of which I am using version 5.7.0.

Note I did have it as a URL but the value for that field can be a non-url value which is why we changed it to a text field.  It stores both url and non-url values.  The copying isn't allowing it though.


We have upgraded JIRA in our test environment to 7.10.2 and Bob Swift Altassian Add-ons - Create on Transition to 6.1.0 and it appears to be copying it correctly.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Feb 26, 2019 in Jira Software

How to prevent the propagation of unused project schemes, workflows & screens in Jira software

Atlassian ranks project attributes as the third most important factor impacting performance in the category of data. It’s not surprising, since project attributes are precisely the rules used to ma...

1,106 views 1 13
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