Creating Subtasks dynamically based off number field

Nick Martin July 5, 2018

Is there any way I can tell Automation for JIRA to create (X) number of sub-tasks based off a number field in the primary ticket?

1 answer

1 vote
andreas
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 5, 2018

Hi Nick,

You can't use the number directly, but you could approximate this behaviour with an else/if type rule. Something like this would work:

  • Trigger: Some trigger
  • If block with a JQL condition: "Number field" <= 1
    • Create 1 subtask
  • else-if block with JQL condition: "Number field" > 1 and "Number field" <= 5
    • Create 5 subtasks
  • else-if ...

Now this would only work obviously if you have only so many combinations.  If you need to create exactly the same number of sub-tasks as the number field always (and say there could be thirty), then this would be very tedious. 

We have https://codebarrel.atlassian.net/browse/AUT-81 open to track this, but we've got quite a few higher priority items in our backlog currently.

Cheers,
Andreas

Nick Martin July 6, 2018

Thanks Andreas

Deleted user June 4, 2019

@andreas - Any more news on this? This is a much-needed feature for teams with many components.

Like Paul Mata likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events