Forums

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

Advanced branching set Organization in for each loop

Jy May 8, 2025

Action: "Organization" contains the list of contacts to add to the watchlist.

Expected behavior:

Adding "Organization1" to the service request, means all emails under "Organization1" will receive a notification when they are added, and they are able to view the request in Servicedesk portal.

I want to track the response for each organization, so each organization have to create a separate ticket.

 

In the parent issue I have a custom field "ListOfOrganistions" field which can contain multiple values. e.g. Organization1 Organization2 Organization3

 

On manual trigger of automation rule, the automation rule will clone for each organization. However, I am unable to assign Organization to Organizationid in the branch.

 

Advanced branching is used for this:

https://community.atlassian.com/forums/Jira-questions/How-to-automatically-create-and-assign-subtasks-in-a-Jira-Team/qaq-p/2084182

for each (organizationid){

Set Organization to {organizationid}

}

 

May I know how can perform the above bold logic in automation rule? 

2 answers

0 votes
Marc - Devoteam
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.
May 13, 2025

Hi @Jy 

Whenever you ask for help with an Automation Rule it will help us to help you if you provide:

1. what type of project is this (e.g., company-managed, team-managed, etc.), 

2. images that show your complete rule.

3. images showing the details of any relevant actions/conditions/branches.

4. images showing the Audit Log details for the rule execution.

5. Explain where the issue is.

These questions are not for not willing to help, but to have community members understand on how automation works.

0 votes
Piyush Annadate _ACE Pune_
Community Champion
May 8, 2025

Hello @Jy ,
By default 'Organization' field doesn't support smart values; you can use more action to add json.

In the below screenshot, I've looped through the organization list of issue (customfield 10002 is my organization field); and added the organization ID to via additional fields.
Screenshot 2025-05-09 at 12.08.25 PM.pngScreenshot 2025-05-09 at 12.08.35 PM.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events