Copy to Subtasks plugin working for custom fields. But how do I do the same for standard fields?

I have this plugin working now. But one field I wanted to copy to a subtask is 'Description.'

How can I do that so that the field is filled in when the user first creates the subtask?

2 answers

1 accepted

0 votes
Accepted answer

Copy to Subtask supports only custom fields. It doesn't support standard fields as of now.

So what IS the way to copy standard fields?

Too bad. You would think that the standard fields would be easier to deal with.

It is, in normal cases but there was some blocker for that in this plugin - to get it prepopulated if I remember. There is a ticket to look at this in the newer version. Feel free to vote up.

I voted.

What is that site? First time I have seen it.

That is JIRA OnDemand!

0 votes


Have a look at "Set Field Value from Parent" post function in Misc Workflow Extensions Plugin. Worked for me for a few standard fields today.

I am already using that, but it only copies on a transition and only fields with the same name. What I am doing is a "bucket brigade." On creation I copy the subtask 'Description' to a temp subtask field, copy parent 'Description' to subtask 'Description,' then subtask 'Description' to my custom 'Parent Description' field, and finally the subtask temp field to subtask 'Description.'

But this is less than satisfactory, if for no other reason because a change in the parent 'Description' is not reflected in the subtasks.

What I really want is a feature like the one that lets me display the parent 'Summary' field in the subtask.

Go for a scripted field:

Note that it wouldn't let you search. Just a display.

Thanks. Sounds good. But I don't see "Scripted Field" as a custom field choice described at the link.

The I need to figure out the code to get the parent field value(s).

It comes from the Script runner plugin. The documentation I send is from that plugin. There are examples of scripts in there and there are scripting experts here. Hope fully, one of those will help ;)

Thanks. I will look at that plugin.

But another question first: From some of my reading, it appears that I can enter code in a field's default "value" area. Would it be possible to write code there that would retrieve the parent's summary and/or description fields? How?

Details are in the docs. You can put an inline script which might be as simple as this:


I need to read up on this more. I need the doc BEFORE the doc you referenced.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,938 views 19 22
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