Forums

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

Automation sends old URL

Dd
Contributor
July 1, 2025

Hi,

I have a manual automation that when executed updates some fields and then sends a message to a slack channel using ({{toUrl}}) to display the URL of the work item with hyperlink.

I changed the project name from say XXX to YYY but the automation still sends the old URL (i.e. XXX).

Any idea how to fix that?

Thanks

Dd 

2 answers

0 votes
Dd
Contributor
July 9, 2025
0 votes
Bill Sheboy
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.
July 1, 2025

Hi @Dd 

For a question like this, context is important.  Please post the following to help the community offer better suggestions:

  • an image of your complete rule in a single, continuous image
  • images of any relevant trigger, actions, conditions, and branches
  • an image of the audit log details showing the rule execution

Until we see those...

If the rule is updating the work item fields in a way that impacts your URL, did you include a Re-fetch Work Item Data action to reload the data from the cloud before building the URL?

Kind regards,
Bill

Dd
Contributor
July 3, 2025

Hi @Bill Sheboy ,

Nothing that I update there would impact the URL.

Here's the flow:

Screenshot 2025-07-03 135425.png 

 

Audit log:

Screenshot 2025-07-03 135616.png

Bill Sheboy
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.
July 3, 2025

Just to confirm, are you using Jira Cloud or Server / Data Center?

I notice your Slack message uses the plural {{issues}} smart value, but that is only supported with Server / Data Center for bulk-handling.

Your rule appears to only access one work item, so please change to the singular {{issue}} one.

 

Some other things I note in that message:

 

Finally, the rule uses Edit Work Item fields, and then may be using those fields in the Slack message action.  If so, please add the Re-fetch Work Item Data action immediately after the edit and before the message; that will reload the data before the rule proceeds.

Dd
Contributor
July 7, 2025

Ouch! Many things to fix.

I'll update and see how it goes.

Thanks

BTW - cloud

 

Dd
Contributor
July 7, 2025

Still getting the old url.

Bill Sheboy
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.
July 7, 2025

Would you please post images of your updated, complete rule and the audit log details showing the execution?  Thanks!

Dd
Contributor
July 8, 2025

Sure

Rule:

Screenshot 2025-07-08 125928.png

Audit Log:

Screenshot 2025-07-08 130007.png

Bill Sheboy
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.
July 8, 2025

That is curious!  I recall some related, recent defects for project name and key changes in the public backlog with team-managed projects. 

At this point, I recommend asking your Jira Site Admin to submit a ticket to Atlassian Support to take a look.  You appear to be on a paid license and so the admin can do that here: 

https://support.atlassian.com/contact/#/

When you hear back from them, please post what you learn to benefit the community.  Thanks!

Dd
Contributor
July 9, 2025

This happens to be a known issue.

This is a known issue: after changing your Jira Cloud site URL, automation rules that use the {{issue.url}} smart value may still reference the old URL in Slack notifications and other automation actions. Even though your site is updated and redirects work, the smart value does not always reflect the new domain as expected 1.

Workaround:
You can manually construct the correct URL in your automation rule using your new domain. For example, instead of using {{issue.url}}, use:

https://<your-new-domain>.atlassian.net/browse/{{issue.key}}

Replace <your-new-domain> with your updated site name. This will ensure that the links in your Slack messages point to the correct, current URL 1.

Atlassian's development team is aware of this issue. You can check out the bug report and add yourself as a watcher to get notified of any updates:

https://jira.atlassian.com/browse/auto-1809

 

Like Bill Sheboy likes this
Dd
Contributor
July 9, 2025

Thanks @Bill Sheboy 

Like Bill Sheboy likes this
Bill Sheboy
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.
July 9, 2025

Thanks!  I was searching for that open defect and did not find it with my criteria.

Suggest an answer

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

Atlassian Community Events