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,461,227
Community Members
 
Community Events
176
Community Groups

Adding a specific Sub Task trough out an automation by adding the specific field value

Snipping_Jira_Tool.PNG

Hi,

when I have already entered "Telefonvertrag/Hauptkarte" in the field "Komponenten" , I would like to be able to subsequently add the value "Multi-Sim" without having to re-create the subtask for the already existing value again. In other words: If I subsequently add the value "Multi-Sim" to the field "Komponenten", I want to get created only this specific sub task.

How can I edit my automation to get there?

Thanks!

1 answer

1 accepted

0 votes
Answer accepted

Hi @Felix Gelfert 

to more specify your use case:

  • What would be the use case of "Telefonvertrag/Hauptkarte" is there already? Is that value filled within creation of the issue?
  • regarding the field "Components" as it is possible to add 2 values within one action: what should happen if both are added the same time?
  • could it be that only "Multi-Sim" is added (without "Telefonvertrag/Hauptkarte")? Or the other way round (means Multi-Sim is there already but "Telefonvertrag/Hauptkarte" is not)?

This is just for having a clear understanding of the use case as this will affect how the automation rule could look like. 

Best
Stefan

Hi @Stefan Salzl 

thanks for your reply!

  • exactly, usually "Telefonvertrag/Hauptkarte" and "Multi-Sim" are filled within the creation of the issue, but sometimes i have to add one or both of them afterwards.
  • If both of them are added at the same time, then i would like to get both Subtasks
  • "Telefonvertrag/Hauptkarte" and "Multi-Sim" are independent. They can stand alone or together.

Once again, thank you very much for your support!

Hi @Stefan Salzl ,

do you have a solution for my Problem?

Thank you!

Felix

Stefan Salzl Community Leader Apr 18, 2022

Hi @Felix Gelfert 

Please appologize my late response 🙈

 

So here comes my approach: First of all i would split the requirement into 2 automation rule:

1. when issue is create
2. when value for field "Components" changes

 

The first rule with trigger "issue created" is built with an if/else block (see screenshot):

- if issue is created with both components --> 2 Tasks created (1 for each component)

image.png

- else if issue is created with one compoent --> create subtask for that component
image.png

- else if issue is created with other component --> create subtask for that component
image.png

 

2. rule: when value is added to component

image.pngimage.png

 

Please let me know if this approach would solve your problem.

Best
Stefan

Stefan Salzl Community Leader Apr 18, 2022

Hi @Felix Gelfert 

Even found an easier way for the first rule (on "create issue"). The branch iterates through list of components and adds a subtask for each list item:

image.pngimage.png

Best
Stefan

Hi @Stefan Salzl ,

thank you very much for your awesome Support!!!

You actually gave me the hint i needed to solve my problem!

I´m using your smart value to run the second rule and it works pretty well.

Best

Felix

This is how i finished it up:

Jira_nachträglich_snipping.PNG

Like Stefan Salzl likes this
Stefan Salzl Community Leader Apr 21, 2022

AWESOME!!! Glad to hear it works now 🙌

If your problem is solved please consider to click "Accept" in order to mark this question as solved and make it easier for the community to find a solution when faced with similar questions.

Best
Stefan

Like Stefan Salzl likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events