Forums

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

Accessing cascading fields via automation

Arturs Kalnins July 22, 2024

I have a cascading field called "business impact"  that is required upon creation. 

I'm trying to set up an automation for a project that once A specific issue type is created an automation creates a new ticket for a team with some of the fields copied and some of the fields pre-filled. However i'm struggling in accessign the business impact field via JSON. 

Screenshot 2024-07-22 102318.png

3 answers

1 accepted

0 votes
Answer accepted
Zuri Suwru
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.
July 22, 2024

Hey Arturs,

Using the same JSON logic you have on your screenshot, I've successfully modified a cascading select list.

Could you please head into the "Audit log" tab and see what the error message you receive is once running your automation?

Bests,
Zuri S.

Arturs Kalnins July 22, 2024

is your cascading field mandatory? I'm trying to create a new issue with a mandatory field. 

As there is no option within data center automation to copy from the trigger issue (as i am unable to access the field) It won't create the issue for whatever reason 

Zuri Suwru
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.
July 22, 2024

Yes, the field is mandatory. Please double check whether the values you entered in both your "value" fields are correct. The only way I receive the same error as you do is if I deliberately put a typo in my test case's value(s).

Working outcome where both values exist in my system:

Correct.png

Correct2.png

Error message when non-existent values are pushed, aka the JSON code, albeit syntactically correct, cannot run:

Incorrect.png

Incorrect2.png

Could you double check the parent and children names in the JSON code?

Arturs Kalnins July 22, 2024

@Zuri Suwru I appreciate the quick answer.


I double checked the values and the issue still persists. 

 

are you on Datacenter environment? Screenshot 2024-07-22 124232.png

Zuri Suwru
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.
July 22, 2024

Yes, I'm on Data Center. On the picture you've attached, is that by any chance a space at the end of the value or it's simply an artifact on the image?
space.png

0 votes
Arturs Kalnins July 22, 2024

Hi @Zuri Suwru 
It worked :) Thank you for your support!

 

0 votes
Arturs Kalnins July 22, 2024

When i'm running this automation, Audit log is showing following issue:
Screenshot 2024-07-22 110958.png

Suggest an answer

Log in or Sign up to answer