Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,361,468
Community Members
 
Community Events
168
Community Groups

Simple Automation Question

Hi Everyone,

 

I'm having difficulties starting this automation, looks like I was only able to create sub-tasks with a defined number but I need the following:

 

In Project 1:

  • When a user creates an Epic and custom field has at least 1 value selected
  • A task must be created within that epic.

 

For example:

Multiple Selection 

* Iaas

* Saas 

* Paas

 

- User selects Iaas and Saas,  2 tasks will be created under the parent Epic with Title "Iaas' for example according to the selection.

 

 

 

Thank you,

1 answer

1 accepted

2 votes
Answer accepted
Mark Segall Community Leader Aug 29, 2022

Hi @Christian Delgado 

You can do it with something like this:

  • TRIGGER: Issue Created
  • CONDITION: Issue Type = Epic
  • BRANCH (Advanced): {{issue.YOURCUSTOMFIELD}}
    • ACTION: Create Issue
      (Make sure to set the Epic Link to {{triggerIssue}})

AnyDesk_A06lqajlB7.png

 

This is what I have so far, this creates a task(s) within the Epic successfully, but it doesn't pull the name of the selection. 

 

EXAMPLE:

TASK - Instead of TASK I want it the name to be Iaas

TASK - Instead of TASK I want it the name to be Paas

Mark Segall Community Leader Aug 29, 2022

You should be able to apply {{test}} to the summary of the created task to get the current custom field value it is iterating against.

This worked perfectly, thank you so much!

Like Mark Segall likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Service Management

An unofficial way to monitor a JSM mail handler for errors

...eturns true if any content is returned for the webResponse.body.data.first s...

716 views 3 20
Read article

Atlassian Community Events