Forums

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

Hi, I need help to understand how can I create linkend issues based on number of users?

Linxio Support
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!
June 20, 2024

 

Hi, I need help to understand how can I create linkend issues based number of users in customfield?

For example:
I have user picker custom filed and I need to create linked issues for each user in user picker field and put each name to sammury on new linked issues. How can I do it with Jira automation?

1 answer

0 votes
Jovin
Community Champion
June 20, 2024

Hey @Linxio Support

You can achieve this by creating an automation rule, the trigger I'll use in the example is "Issue created" for simplicity.

  1. Trigger: Issue created
  2. Condition: If "User Picker" IS NOT EMPTY
    1. I do these conditions as a fail safe so the rule doesn't error
  3. For Each: Advanced branching
    1. Smart value: {{issue.User Picker}}
    2. Variable name: userForIssue
  4. Action: Create issue
    1. Set the project & type as you wish
    2. Summary: {{userForIssue.displayName}}
    3. Also in "Choose fields to set" choose "Parent"
    4. Set "Parent" to "Trigger Issue"

It will now iterate over every user chosen and create a child issue!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events