How to add custom fields to 「WBS GanttChart」 with set-totaling functionality

RUI HAN October 30, 2024

 

画像1.png

 

The red box is the content that the user can enter, the green box does not allow the user to edit, and the content is the result of the sub-task set calculation.

I tried custom writing using ScirptRunner's “Behaviours script” but found that it didn't trigger.

I also tried to use ScriptRunner's “Listeners” for control as well as auto-calculation, but I didn't find a way to control the disallowed input in the green box.

 

Can anyone give me some tips and help?

Thanks!

1 answer

0 votes
Charlotte Santos
Contributor
October 30, 2024

Hello @RUI HAN

Thank you for posting! I’m Charlotte from WBS Gantt-chart support team.

I believe I need some more information to help you with your issue. When you say, "the content is the result of the sub-task set calculation", does it mean that this field is from another third-party app?

Also, when you say, "the red box is the content that the user can enter, the green box does not allow the user to edit", were the values added from inside WBS or outside? Does it mean that it's possible to add values only in a specific issue type?

Some fields are not editable from inside WBS Gantt-chart, you can find a list of fields and more information on fields configuration in our documentation here.

If you prefer, you can open a support ticket through our portal, link here. This will allow us to request additional details to investigate the issue further.

Don't hesitate to share any doubts or concerns with us, we'll be happy to help you! 😉

Best regards,

Charlotte S. | Support Engineer
Ricksoft Support Team

RUI HAN October 30, 2024

Thank you for your answer.
The effect I'm trying to achieve is the same column where the parent task is not editable and the child task is editable, where the value of the parent task is the result of the set of child tasks that are counted. It's like a progress rate.
This column is not derived from a third party app, it is a custom field.

I've sent a request to your support team and haven't gotten a response yet, so if I get an answer here, I think it will help more people.

Thanks

Charlotte Santos
Contributor
October 31, 2024

HI @RUI HAN

Thank you for replying!

If it's a common custom field with no script or calculation behind it, the only possibility that comes to my mind is that this field has a context, and this context is configured to only allow the field to be used in a specific issue type.

To check that, open Jira Administration ⚙️ > Issues > Custom fields > Find the field in the list > Open the menu [...] > Select Configure contexts:

Screenshot 2024-10-31 at 12.42.44.png

For example, in the image below, the field is configured to only be used in sub-tasks:

Screenshot 2024-10-31 at 12.48.47.png

This way, WBS would only allow the field in sub-tasks to be editable, but in other issue types the edition would be prohibited. 

When you put the mouse over the prohibited icon 🚫, do you see any message? For example, like this:

Screenshot 2024-10-31 at 12.53.02.png

Let us know of your findings, please!

Kind regards,

Charlotte S. | Support Engineer
Ricksoft Support Team

RUI HAN November 3, 2024

Hi @Charlotte Santos 

Thank you for your answer.

I noticed that the way you provided is to use that custom field in a specific task.

But this way I can't accomplish the set counting functionality. My child task is the same task type as the parent task. My requirement is to add a column similar to the WBS Gantt-chart's own progress rate functionality, But the aggregation is different.

Suggest an answer

Log in or Sign up to answer