Forums

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

Send Slack message

Lilach Mohager August 3, 2022
I want to send a message(in slack) if someone has changed a field.
What was the value before and after the change and his name
Send Slack message
Message: 

image.png

I get an URL in slack, how do I remove this?

Thank you

1 answer

1 accepted

0 votes
Answer accepted
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.
August 3, 2022

Hi @Lilach Mohager -- Welcome to the Atlassian Community!

When you note you are getting a URL in the Slack message, what are you observing?  Is the URL for the issue key?

Also for a question like this, please consider posting an image of your rule to provide context.  Sometimes that helps the community to offer suggestions.  Thanks!

Kind regards,
Bill

Lilach Mohager August 4, 2022

Hi Bill,

Thank you for the answer.

According to the image the first arrow, the automation was successful.

On the other hand, in the second arrow, the automation was not successful and the url leads to an error(I didn’t change the automation)

 

65C9771F-C5A0-4B37-8CEF-0C44274574DE.jpeg

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.
August 4, 2022

Would you post images of your complete rule and the audit log, showing the details of the rule executions for that time frame?  As needed, please obscure any connection information in your images.  Thanks!

Also, would you please check the audit log at your rule-list level to see if any other rules ran at that same date/time?  It could be this message is from another rule.

Like Lilach Mohager likes this
Lilach Mohager August 7, 2022

Screenshot 2022-08-07 1254241111.png 3333.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.
August 7, 2022 edited

Thanks for that information, @Lilach Mohager 

When you use an iterator, such as {{#changelog}}... that should just close with {{/}}  The error message seems to indicate you have more in the iterator close, so please try changing that.

And just to confirm, can you show the details of your Edit Comment action?  Thanks!

Lilach Mohager August 7, 2022

Screenshot 2022-08-08 095332.png

Lilach Mohager August 7, 2022

the URL that shown via Slack is because this sentence: 

 

Screenshot 2022-08-08 095536.png

I don't know what to change because there isn't {{#changelog}} or /

thanks for the help!

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.
August 8, 2022

Please change...

{{/changelog.customfield_10052}}

to 

{{/}}

 

For more information, please see these examples from the documentation on lists:

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-lists/#Combined-function-examples

Lilach Mohager August 8, 2022

Thank you very much!!

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events