Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How i can copy Select List (cascading) field from parent to sub task in cloud version

Petr AST
Contributor
December 24, 2020

Hi there! 

As usual, I ran into an incomprehensible situation, I can not figure out whether it is possible to copy "Select List (cascading)" field through automation, because these fields are simply not available? I use Jira Cloud version.

Any idea why this is so?

Thank you! :)

Regards, 
Petr

2 answers

1 accepted

0 votes
Answer accepted
Ravi Sagar _Sparxsys_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 27, 2020

Hi @Petr AST 

Cascading select list is probably not yet supported directly.

There is indeed a documentation, you can read about smart values here. I am am also making videos on this covering this topic.

Thanks,

Ravi

Ravi Sagar _Sparxsys_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 27, 2020

Also if you want to set the cascading select list value you can use this JSON in the additional fields.

{
"fields": {
"Cascading Select List": {
"value": "{{issue.Cascading Select List.value}}",
"child": {
"value": "{{issue.Cascading Select List.child.value}}"
}
}
}
}

This will also set the sub task cascading select list value from parent.

Ravi 

Like Petr AST likes this
Petr AST
Contributor
December 27, 2020

@Ravi Sagar _Sparxsys_ 
Thanks for the links, yes, I looked in this documentation, but I never met about the child field.
I saved your blog, see more details!!)

If you saw my question, do you think is it possible to get a comment from satisfaction, or an rating in a similar way, for lookup issues, as you indicated above, otherwise I have not figured it out? 
Angelica helped me with it, but maybe it possible to write it using JSON, idk?

Regards, 
Petr

0 votes
Petr AST
Contributor
December 24, 2020

And there is 1 more thing. 
I can't send email with this field's information:
I've tried this:

1 {{issue.fields.test_cascad.value}}
2 {{issue.fields.test cascad}}
3 {{issue.fields.test_cascad}}
4 {{issue.fields.test_cascad.values}}

In the first option i get only the first part of this field
in the second and third option I get this

{self=https://site.atlassian.net/rest/api/2/customFieldOption/10999, value=test, id=10999, child={self=https://site.atlassian.net/rest/api/2/customFieldOption/10888, value=test11, id=10888}}

When I try to get the value from the IDs obtained above, nothing comes out.
1.1 {{issue.customfield_10999.value}}
1.2 {{issue.customfield_10888.value}}

What do you think about that?

Ravi Sagar _Sparxsys_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 25, 2020

Hi @Petr AST 

Do this.

Parent value: {{issue.fields.test_cascad.value}}

Child value: {{issue.fields.test_cascad.child.value}}

You are indeed getting a JSON where you can access both parent and child values separately.

I hope it helps.

Ravi

Like Petr AST likes this
Petr AST
Contributor
December 27, 2020

Hi @Ravi Sagar _Sparxsys_ 

It works great!!
Thanks you for the help!!

Do you know why this field is not in automation in the field list?)
Can you tell me, did you learn about this function from personal experience, or is there documentation? Maybe I am missing some page that could help me with such unusual requests.

Regards,

Petr

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events