The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Subtask only inheriting some cfields from parent

Theo Patrick Leuze
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 1, 2022

Hey,

im currently designing a workflow which uses Subtasks to advance the parent only when all subtasks are cleared. This works fine so far.

I have a problem with inheriting custom fields from parent to the subtasks. All fields are present in the field configuration and are added to the Subtask Types.

Now when i let the workflow create these Subtasks via Scriptrunners "Create a sub-task [Scriptrunner]" Postfunction it will not inherit all fields of its parent. I have tried letting it copy all fields via the mentioned postfunction and alternativly tried defining it more closely with a custom assortment of fields to copy.

Yet when i look at my Subtasks which are created via this workflow some Subtasks are missing the fields completely (not even visible if i click "edit") while others do not.

The peculiar thing is, the missing custom fields are not gone on all the Subtasks even tho i configured them in an identical way.

Example: Parent Issue has CFields "Usermanagement" (Dropdown) & "Cost Prognosis" (Free text field)

Subtask 1 has inherited both fields correctly
Subtask 2 has only inherited "Usermanagement" and is missing "Cost Prognosis" completely even tho it is configerd to also inherit both

I am using different underlying Workflows for the parent issue and the subtasks, both have the cfields assigned to them. We are using Jira Servicedesk Server on Version 4.20.15

Can anyone help me figure out what might be causing this behaviour?

Kind regards

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Theo Patrick Leuze
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 2, 2022

As it turns out the affected Custom fields were configured to only be available to select few subtask types and therefore could not be copied over. This has been fixed and is now working for us.

Therefore disregard this post.