Forums

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

Automation : Set Custom Field from Cascading field (smart value)

Joseph HANI
Contributor
October 11, 2023

Hello Everyone ! 

I hope you're doing well. I'm reaching out to you regarding an automation I'm setting up in our environment. What I initially thought was a simple issue turns out to be a bit more complex than expected. Here's where I stand:

We have two related tickets: Ticket A is linked to Ticket B. Here's what I want to achieve:

  1. When Ticket A transitions to "Accepted," the "Fix version" field is not empty, and the "Cascading list" field is set to "Jira," then, for the linked ticket (Ticket B):

    • I want its status to change to "Selected."
    • I want to edit the "Jira Team" field to retrieve the child value from the "Cascading list" field.
  2. When Ticket A transitions to "Accepted," the "Fix version" field is not empty, and the "Cascading list" field is set to "NO," then, for the linked ticket (Ticket B):

    • I want its status to be set to "Done."
    • I want to set the resolution to "Fixed.

No problem for the second part but I have a problem for the first part with setting up the Jira Team.

It seems that I can not set my Jira Team (Select list) field from the cascading even if in the log action I can see that it's being found. 
Also for your information Select List and child value are 1:1 

Here is my log action smart value and same smart value used of setting up the field (I tried using customfield_xxxx same results : 

Transfer ticket to another team value : {{issue.fields.Transfer ticket to another team ?.child.value}}

 

If anyone has an idea please ! 

Thanks a lot for your help ! 

 

SCREEN : 

Capture d’écran 2023-10-11 à 20.23.37.pngCapture d’écran 2023-10-11 à 20.25.53.png

 

Capture d’écran 2023-10-11 à 20.21.08.png

0 answers

Suggest an answer

Log in or Sign up to answer