Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,551,667
Community Members
 
Community Events
184
Community Groups

Create a Sub-Task with Dynamic Summary Name

jose.chaves
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Apr 26, 2023

Hi all. I'm creating an automation that should create a new sub-task every time a checkbox is ticked in a field.

I have a checkbox field called "languages" with ~29 different languages. I want the automation to create a new sub-task for each language ticked, with that languages name as the summary.

 

Example: Spanish, English and French are ticked, we get three sub-tasks

Task 1: "Spanish"

Task 2: "English"

Task 3: "French"

1 answer

1 accepted

2 votes
Answer accepted
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 26, 2023 • edited

Hi @jose.chaves and welcome to the community,

You can create a rule the one below:

rule001.png

 

On the advanced branching place the following:

rule002.png

 

And during the issue creation, place the following:

rule003.png

 

You can delete the audit logs, since I placed them for testing purposes.

Let me know if you succeeded!

jose.chaves
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Apr 27, 2023

Hi Alex, this indeed worked, thank you so much! 

One followup question.

The automation currently takes all the checked values and create the subtasks. If I were to uncheck any value or check a new one after the fact, it will create a new sub-task for all checked values at that moment, including the previous ones, creating some duplicates.

Do you know of any way to have JIRA Automation just create one sub-task per checked value once and not duplicate if the ticket is updated?

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 27, 2023

@jose.chaves before creating an issue you could:

  • add a lookupissue component to search for issues connected to the same parent which have the same summary
  • If the size of the lookup is greater less than or equal to zero
  • Create the subtask

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events