Forums

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

Add count value to sub task summary

Krithica Gowri Shankar
Contributor
July 31, 2018

Hi,

I need to add the number to the sub task summary based on how many times the same sub task is created.

I have 2 sub tasks in a transition.

For the 1st time when sub task A is created , the summary should be Subtask A - 1,

in the 2nd time it should be Subtask A - 2 and the count should be based on the number of sub-tasks present in the issue.

Please let me know how to achieve this.

Thanks,

Krithica

1 answer

1 accepted

1 vote
Answer accepted
Alexey Matveev
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 31, 2018

Hello,

You can not do it out of the box. You would need a plugin like Power Scripts, ScriptRunner. 

If you have the Power Scripts plugin, then you can create a listener for the create issue event. Then check in the listener, if there are same subtasks for the parent task. If there are, you can find their number and add this number plus one to the created subtask summary.

You can find more info about Power Scripts listeners here:

https://confluence.cprime.io/display/JJUPIN/SIL+Listeners

Krithica Gowri Shankar
Contributor
August 6, 2018

Thank you

Alexey Matveev
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.
August 6, 2018

You are welcome!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events