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

Custom Field for User to store Slack's user_id

My team is about to start using Jira. And I'm pretty new to configuring Jira. So maybe I’m overlooking something. 

My question is this:

Is there a way to store external ids that are linked to the user especially the assignee?

Because my problem is this:

I want to send an individual a message on slack. I want to do this when they forget to log their hours in a ticket. 

I've already created the trigger to send the message but now I have to create a pretty big if else tree to send the message to every assigned individual team member. And i have to do this every time we get a new team member.

I was hoping there is something like {{assignee.custom_field.slack_id}} that I can use in the channel or user textbox. 

 

Kind regards, 

Robert

 

2 answers

I've solved a very similar problem using entity properties, but they're not super friendly to use since JIRA doesn't give you a UI to set\edit them.

Depending on how often you add users and whether you have a source of truth for them, it might be easier to write a script to set them via the JIRA API - however if that's beyond you (as it would be me) you can set and edit entity properties using Automation rules.

Thanx!

I'm going to look in to that.

 

- edit

I't worked.  I did however user the api route. I found that to be a little bit easier.

Like Haddon Fisher likes this
0 votes
Daniel Eads Atlassian Team Nov 11, 2020

Hi Robert,

Glad to hear you got started with storing the Slack UIDs as properties with an API call. We've released a script that should help speed this up (it will do all the users in the Slack workspace at once). You can check it out on this article. Hope this helps!

Cheers,
Daniel

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,184 views 8 28
Join discussion

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