Forums

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

Jira Automation smart values: how can i get a field of a subtask and put it in the parent issue ?

Abdeladim EL AOUMARI April 2, 2021

Basicaly the title. Here is a screen shot of the automation i was attempting to do but I guess {{issue.subtask}} is not a thing.

 

jira automation subtask qst.png

2 answers

1 accepted

5 votes
Answer accepted
Alexis Robert
Community Champion
April 2, 2021

Hi @Abdeladim EL AOUMARI , 

 

you can access the subtask fields with {{triggerIssue.My Field}} smart value. You can see it on my test rule :

 

Screenshot 2021-04-02 at 14.05.34.png

 

Let me know if this helps, 

 

--Alexis

Abdeladim EL AOUMARI April 2, 2021

Hi @Alexis Robert 

Thanks for the answer! it's exactly what I was looking for :D

0 votes
Martin Bayer _MoroSystems_ s_r_o__
Community Champion
April 2, 2021

Hi @Abdeladim EL AOUMARI , welcome on the community :).

One question... automation should be executed on subtask, when subtask is created?

Abdeladim EL AOUMARI April 2, 2021

Hi @Martin Bayer _MoroSystems_ s_r_o__ 

thanks for the welcome :)

Automation should be executed on the parent issue when a subtask is created.

{{triggerIssue.My Field}} suggested by @Alexis Robert worked for me.

Suggest an answer

Log in or Sign up to answer