Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Scriptrunner Slack Listener not posting message Edited

Hello,

Using the script from the Adaptavist library I've managed to get slack notifications working from a listener. The issue I'm seeing is that only the attachments are being passed from the JSON to the notification. It seems to ignore anything I pass as "text". I think I'm likely missing something fairly basic here.

The original code is here.

Here is the output into slack:

Screen Shot 2020-10-13 at 9.45.01 AM.png

It seems that only thing being passed is the "attachment" section of the JSON payload.
Help would be appreciated in better understanding if additional permission is needed within slack, or something needs to be changed in the base code of the script to display this information correctly.

Regards,
Steven

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.5.1
TAGS
Community showcase
Published in Jira Service Management

Why upgrade to Jira Service Management Premium?

We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan.  &nb...

163 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you