I'm trying to create a global automation rule that updates the sprint field in a company managed project whenever the sprint field of a linked issue in a Team Managed project is updated. Here is the automation I created, but it is not working. Does anyone have a solution?
Just looking at the rule sequence, this looks correct. Did you check the audit log of the rule for any errors? If this does not solve the problem, can you share a screenshot of the configuration of the "Edit issue fields" action with us?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The rule thinks it’s working; the audit log shows success.
In the instance above, I changed the sprint of Dev-8665 with the expectation that the Sprint field of INSPIRE-33 would update. The audit log indicates that it did, but when I edit INSPIRE-33, nothing has changed.
For reference, this is the field I’m looking at in INSPIRE-33:
Re “can you share a screenshot of the configuration of the "Edit issue fields" action with us”. Can you tell me where to find that?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you tell me where to find that?
By this, I meant the configuration displayed on the right side of what is shown on your original screenshot. So basically a screenshot of the entire rule window, while the "Edit issue fields" action is selected.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Marsha Miller I see in your screenshot that your rule copies the sprint from the current issue. This means that the sprint basically gets copied from the linked issue to the linked issue, so nothing happens. This is because if you use current issue in a branch of a rule, you're referencing the current issue of the branch – and this is the linked issue in your case.
To solve this, you just have to choose "Trigger issue" in the action. This will copy the sprint value from the actual issue which triggered the rule:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Marsha Miller Glad if it is working now! Please consider accepting the answer, maybe it is helpful for others as well. Thank you! :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.