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,458,064
Community Members
 
Community Events
176
Community Groups

Automation not working on all projects boards

Edited

Hello,

I have an automation that looks when an issue transactions into one status to the other and the copy fields from the parent ticket.

 

I have this automation in on Project board and it behaves as expected all the fields populate base on the parent ticket here is the logic of the automation that is working has: 

{"cloud":true,"rules":[{"id":1692815,"clientKey":"sungage.atlassian.net","name":"Assign subtask to assignee from parent.","state":"ENABLED","description":null,"authorAccountId":"557058:fe329511-e829-4cc1-970e-26eec77bcf2a","actor":{"type":"ACCOUNT_ID","value":"557058:f58131cb-b67d-43c7-b30d-6b58d40bd077"},"created":1615395833978,"updated":1635449764788,"trigger":{"id":"68736488","component":"TRIGGER","parentId":null,"conditionParentId":null,"schemaVersion":1,"type":"jira.issue.event.trigger:transitioned","value":{"eventKey":"jira:issue_updated","issueEvent":"issue_generic","fromStatus":[{"type":"NAME","value":"Ready for QA"}],"toStatus":[{"type":"NAME","value":"In Development"}]},"children":[],"conditions":[],"connectionId":null},"components":[{"id":"68736489","component":"BRANCH","parentId":null,"conditionParentId":null,"schemaVersion":1,"type":"jira.issue.related","value":{"relatedType":"subtasks","jql":"","linkTypes":[],"onlyUpdatedIssues":false,"similarityLimit":40,"compareValue":0},"children":[{"id":"68736490","component":"CONDITION","parentId":"68736489","conditionParentId":null,"schemaVersion":3,"type":"jira.issue.condition","value":{"selectedField":{"type":"NAME","value":"QA Assignee"},"selectedFieldType":"com.atlassian.jira.plugin.system.customfieldtypes:userpicker","comparison":"EMPTY","compareValue":null},"children":[],"conditions":[],"connectionId":null},{"id":"68736491","component":"ACTION","parentId":"68736489","conditionParentId":null,"schemaVersion":10,"type":"jira.issue.edit","value":{"operations":[{"field":{"type":"NAME","value":"QA Assignee"},"fieldType":"com.atlassian.jira.plugin.system.customfieldtypes:userpicker","type":"SET","value":{"type":"COPY","value":"parent"}}],"advancedFields":null,"sendNotifications":true},"children":[],"conditions":[],"connectionId":null},{"id":"68736492","component":"CONDITION","parentId":"68736489","conditionParentId":null,"schemaVersion":3,"type":"jira.issue.condition","value":{"selectedField":{"type":"ID","value":"assignee"},"selectedFieldType":"assignee","comparison":"EMPTY","compareValue":null},"children":[],"conditions":[],"connectionId":null},{"id":"68736493","component":"ACTION","parentId":"68736489","conditionParentId":null,"schemaVersion":3,"type":"jira.issue.assign","value":{"assignType":"SPECIFY_USER","smartValue":null,"itsmOpsOncall":null,"jql":null,"issueToCopy":null,"fieldToCopy":null,"listAssignMethod":null,"assignee":{"type":"COPY","value":"parent"},"restrictedToGroup":null,"group":null,"role":null,"excludedUsers":[],"userList":[]},"children":[],"conditions":[],"connectionId":null},{"id":"68736494","component":"CONDITION","parentId":"68736489","conditionParentId":null,"schemaVersion":3,"type":"jira.issue.condition","value":{"selectedField":{"type":"ID","value":"status"},"selectedFieldType":"status","comparison":"ONE_OF","compareValue":{"type":"NAME","modifier":null,"value":"[\"Backlog\",\"Selected for Development\"]","multiValue":true,"source":null}},"children":[],"conditions":[],"connectionId":null},{"id":"68736495","component":"ACTION","parentId":"68736489","conditionParentId":null,"schemaVersion":10,"type":"jira.issue.transition","value":{"operations":[],"advancedFields":null,"sendNotifications":true,"destinationStatus":{"type":"NAME","value":"In Development"},"transitionMatch":""},"children":[],"conditions":[],"connectionId":null}],"conditions":[],"connectionId":null}],"canOtherRuleTrigger":false,"notifyOnError":"FIRSTERROR","projects":[{"projectId":"10100","projectTypeKey":"software"}],"labels":[],"tags":[],"ruleScope":{"resources":["ari:cloud:jira:8617148b-b5bf-4af8-867f-878fecd139b8:project/10100"]},"writeAccessType":"UNRESTRICTED","collaborators":[]}]}
and here is the logic of  the one that is not working:

{"cloud":true,"rules":[{"id":9893782,"clientKey":"sungage.atlassian.net","name":"Assign subtask to assignee from parent","state":"ENABLED","description":"","authorAccountId":"557058:fe329511-e829-4cc1-970e-26eec77bcf2a","actor":{"type":"ACCOUNT_ID","value":"557058:f58131cb-b67d-43c7-b30d-6b58d40bd077"},"created":1674080420064,"updated":1674084089501,"trigger":{"id":"205846191","component":"TRIGGER","parentId":null,"conditionParentId":null,"schemaVersion":1,"type":"jira.issue.event.trigger:transitioned","value":{"eventKey":"jira:issue_updated","issueEvent":"issue_generic","fromStatus":[{"type":"NAME","value":"Ready for QA"}],"toStatus":[{"type":"NAME","value":"In Progress"}]},"children":[],"conditions":[],"connectionId":null},"components":[{"id":"205846192","component":"BRANCH","parentId":null,"conditionParentId":null,"schemaVersion":1,"type":"jira.issue.related","value":{"relatedType":"subtasks","jql":"","linkTypes":[],"onlyUpdatedIssues":false,"similarityLimit":40,"compareValue":0},"children":[{"id":"205846193","component":"CONDITION","parentId":"205846192","conditionParentId":null,"schemaVersion":3,"type":"jira.issue.condition","value":{"selectedField":{"type":"NAME","value":"QA Assignee"},"selectedFieldType":"com.atlassian.jira.plugin.system.customfieldtypes:userpicker","comparison":"EMPTY","compareValue":null},"children":[],"conditions":[],"connectionId":null},{"id":"205846194","component":"ACTION","parentId":"205846192","conditionParentId":null,"schemaVersion":10,"type":"jira.issue.edit","value":{"operations":[{"field":{"type":"NAME","value":"QA Assignee"},"fieldType":"com.atlassian.jira.plugin.system.customfieldtypes:userpicker","type":"SET","value":{"type":"COPY","value":"parent"}}],"advancedFields":null,"sendNotifications":true},"children":[],"conditions":[],"connectionId":null},{"id":"205846195","component":"CONDITION","parentId":"205846192","conditionParentId":null,"schemaVersion":3,"type":"jira.issue.condition","value":{"selectedField":{"type":"ID","value":"assignee"},"selectedFieldType":"assignee","comparison":"EMPTY","compareValue":null},"children":[],"conditions":[],"connectionId":null},{"id":"205846196","component":"ACTION","parentId":"205846192","conditionParentId":null,"schemaVersion":3,"type":"jira.issue.assign","value":{"assignType":"SPECIFY_USER","smartValue":null,"itsmOpsOncall":null,"jql":null,"issueToCopy":null,"fieldToCopy":null,"listAssignMethod":null,"assignee":{"type":"COPY","value":"parent"},"restrictedToGroup":null,"group":null,"role":null,"excludedUsers":[],"userList":[]},"children":[],"conditions":[],"connectionId":null},{"id":"205846197","component":"CONDITION","parentId":"205846192","conditionParentId":null,"schemaVersion":3,"type":"jira.issue.condition","value":{"selectedField":{"type":"ID","value":"status"},"selectedFieldType":"status","comparison":"ONE_OF","compareValue":{"type":"NAME","modifier":null,"value":"[\"To Do\"]","multiValue":true,"source":null}},"children":[],"conditions":[],"connectionId":null},{"id":"205846198","component":"ACTION","parentId":"205846192","conditionParentId":null,"schemaVersion":10,"type":"jira.issue.transition","value":{"operations":[],"advancedFields":null,"sendNotifications":true,"destinationStatus":{"type":"NAME","value":"In Progress"},"transitionMatch":""},"children":[],"conditions":[],"connectionId":null}],"conditions":[],"connectionId":null}],"canOtherRuleTrigger":false,"notifyOnError":"FIRSTERROR","projects":[{"projectId":"11012","projectTypeKey":"software"}],"labels":[],"tags":[{"id":21422484,"tagType":"IS_RULE_UPDATED","tagValue":"true"}],"ruleScope":{"resources":["ari:cloud:jira:8617148b-b5bf-4af8-867f-878fecd139b8:project/11012"]},"writeAccessType":"UNRESTRICTED","collaborators":[]}]}
the rules are identical except that they are on different boards and check for different statuses. For both rules, the assignee populates, and the status update. But for the Second rule, the QA assignee never is populated, I try using fetching and still hitting the same issue. For both rules  the audit log reflects the status as succes
Rule that isn't working
BDBFD207-3FED-47AD-9159-AD5CB6210512.jpegrule that is work workingBDBFD207-3FED-47AD-9159-AD5CB6210512.jpegScreen Shot 2023-01-18 at 6.40.18 PM.png

1 answer

1 accepted

1 vote
Answer accepted

Figured this out is because one of the project is a company-managed project while the other is a team-managed project. The  automation in team-managed project  does not support custom user fields along with other automation that company manged project support.

 

https://support.atlassian.com/cloud-automation/docs/limitations-in-team-managed-projects-for-automation-rules/

Glad you were able to figure it out! Thanks for the update, I'm sure this will be helpful to others.

Like Nino Garcia likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events