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

Populate cascading value from parent issue

Hi,

 

We are using the same custom field of cascading list type in both the parent and the sub task. But on clicking create sub task we need to populate the selected cascading custom field from parent to the child. 

 

Any suggestions on how to retrieve the values.

1 answer

0 votes
Iago Docando Community Leader Nov 20, 2019

Create a new workflow that you'll assign only to the subtasks of your proyect and on the very first transition (create) add a postfunction called  COPY VALUE FROM OTHER FIELD. When you click next you'll have to select the origin and target field and be sure of also clicking in the checkbox COPY FROM PARENT.

I don't remember if that transition is availiable in vanilla Jira. If not, it comes in some free plugin. Please look in the market place and you'll find it. 

PS_ I've just checked the market place and found out Copy to Subtask Plugin. I know this isn't the one I've used in the past but it seems to do exactly what you need so you might want to give it a try.

Hi @Iago Docando ,

 

Thanks for the suggestion. But is there a way to do the same using the script. I managed to get the parent and the child value from the parent and having trouble on setting the value.

 

Any adivse

Iago Docando Community Leader Nov 21, 2019

I've never used script runner.

I can only assume it must be fairly easy to achieve, based on the many things that the script allows you to do, but in any case I'll refer to any person with more knowledge on the matter than I have.

Feel free to try my suggestion if nothng else comes up but I'm sure someone with the answer you're looking for will find you.

Best of luck :)

Suggest an answer

Log in or Sign up to answer
TAGS

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