Forums

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

how to create multiple subtasks using bob swift in post function based on custom field value

Chander Korshika
Contributor
May 31, 2019

How to create multiple sub-tasks using bob swift post function based on custom field value.

I have a customField with numeric value X and i need to create X number of subtasks.

Not able to understand what to populate at Create multiple issues in postfunction configuration.

Please suggest me .

Thank you !

4 answers

0 votes
Nishanth Thimmareddy (Appfire)
Atlassian Partner
February 1, 2021

Hi Chander,

Thanks for reaching out. Using our Create on Transition for Jira Server app, you can do this very easily.

Here's how you can do this: This is accomplished by using the function that produces a comma-separated list of numbers. This can be used on the multiple issue field.

%function_list(startNumber, endNumber)%

Examples:

%function_list(10,15.9)%

  • Result: 10,11,12,13,14,15
  • Notes: non-integer values converted to integers

%function_list(1, %custom_number%)%

  • Result: 1,2,3,4
  • Notes: For custom field: custom_number = 4

Full disclosure: I am the product manager for this app.

Thanks, Nishanth T

0 votes
Sudhir_Appfire_
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 3, 2019

Hi, @Chander Korshika

As of now, we do not have any update on this feature. Can you please add yourself as the watcher for the CSOT-865 for further updates.

Note: If you are unable to access the request, please try to access the request from an incognito window or try to log out of our support portal and then try to access the link.

Regards,
Sudhir

0 votes
Sudhir_Appfire_
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.
June 4, 2019

Hi, @Chander Korshika

Hope you are doing good!

Currently, we do not have the option to create sub-tasks based on a numeric value for a given custom field.

We created a new feature request CSOT-865 for the same with our development team.

Please add yourself as the watcher to the request to get the future updates.

Note: If you are unable to access the request, please try to access the request from an incognito window or try to log out of our support portal and then try to access the link.

Regards,

Sudhir

Chander Korshika
Contributor
June 4, 2019

@Sudhir_Appfire_ Thank you very much for your time and help !

Chander Korshika
Contributor
July 1, 2019

Hi Sudheer ..Do we have any update on it ?

0 votes
Sudhir_Appfire_
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.
June 3, 2019

Hi, @Chander Korshika

We have opened a Support Request SUPPORT-2510 for this issue and request you to please sign in to the portal and provide the email id so that we can add you as the participant for SUPPORT-2510. You will receive further updates in the SUPPORT-2510 ticket.

Please note that you will not be able to create "x" number of sub-tasks based on numeric field, but will be able to create sub-tasks based on the list of values. For example, if you have a component field with the values X, Y, Z then we will be able to use the create on transition post-function to create sub-tasks for each component. Please see the below screenshot for reference.

2019-06-03_15-32-01.png

Note: In the above screenshot the original_components (gets the list of components in the parent issue) and %entry% on the components field will supply each value to be set to the sub-task

Also please see the page Create multiple issues for reference.

 

 

Regards
Sudhir

Chander Korshika
Contributor
June 3, 2019

@Sudhir_Appfire_  I'm aware of the above solution but i'm needing to create sub-tasks based of a numeric field depending on the value of that field.I think with script we can achieve it.Please suggest me if you have any-other solution for it.

Thank you for your suggestion. 

Suggest an answer

Log in or Sign up to answer