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

Cannot get user property with JIRA Automation Edited

I'm trying to at mention a user in my JIRA Automation.  I've read swathes of articles about how best to do this and it's not working.  I'm using JIRA Server.

In my "Send Slack Message" content I've got the following (the bold is the response)

rep 1 - {{issue.fields.reporter}} - MARKHALLER
rep 2 - {{reporter}} - MARKHALLER

rep 3 - {{issue.fields.reporter.properties.slack}} - BLANK
rep 4 - {{issue.fields.reporter.legacyProperties.slack}} - BLANK

I can see the following against my User profile in JIRA - 

How do I get the slack property from the reporter user profile?

1 answer

1 accepted

1 vote
Answer accepted

hi @Mark Haller did you try:

  • {{ reporter.legacyProperties."jira.meta.slack" }}

Haha, of course I didn't - how would I know about that? :-)  Is there any docs/links?

It works perfectly!  And you score maximum points for replying within about 10 minutes :-)

Oh maaaan, and I always tell people off for "not reading things carefully" - and there's the bit about "Please note though that properties set by the UI ..." gaaaah!

Thanks again - you rock!

Like Daniel Eads likes this

You know what? I was just helping my colleague with properties and Java API and we found out the difference between legacy and non-legacy properties, but we did it on our own...so I learned something new too :), but you're welcome :)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
Community showcase
Published in Jira

Announcing the waitlist for Jira Work Management

Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...

636 views 10 16
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