Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

How to use a custom user property as a smart value?

I made all steps to add a custom property to my user in order to use it in automation:

https://confluence.atlassian.com/cloud/update-roles-and-properties-for-jira-users-744721647.html

I tried using the {{assignee.property.blabla}} smart value but it didn't work.

I also found some reference about legacy properties called {{assignee.legacyProperty."jira.meta.blabla"}} but it didn't work.

Is there any way to solve this without using the REST API to set the property?

1 answer

0 votes
Yvan Martin Atlassian Team Aug 27, 2020

Hi @Rhuan Samary Barreto ,

Developer from Automation here.

User values in the Jira UI are actually those legacy properties you mentioned with {{issue.reporter.legacyPropeties.customValueHere}}, but we currently don't support those in cloud due to a lack of APIs. The new way of setting and using those values is using the user entity property API.

The new way to do this is to set the User entity property. The best docs to follow are:

https://developer.atlassian.com/jiradev/jira-platform/building-jira-add-ons/jira-entity-properties-overview

This is the curl command you would use:

curl -X PUT -H "Content-type: application/json" https://<My JIRA Cloud>.atlassian.net/rest/api/2/user/properties/customValueHere?username=adminUserName -d '"<the slack id"'

 

(You will need to ensure that you authenticate the request)

You can also store JSON objects if you need more rich information stored.

 

You can the access it via:

{{issue.reporter.properties.customValueHere}}

There is also an add-on provided by Atlassian labs that allows you edit the entity properties in the UI - https://marketplace.atlassian.com/plugins/com.atlassian.connect.entity-property-tool.prod/cloud/overview

 

Hope this helps.



Mykenna Cepek Community Leader May 22, 2021

The add-on mentioned above is currently worthless for managing user entity data.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Marketplace Apps & Integrations

☕️ Monday coffee with Jexo: Weekly Atlassian news roundup | 21st June 2021

Hi community 👋, as every Monday we're bringing you a quick update on what happened in the Atlassian ecosystem last week. There were a few interesting events like for example the announcement of th...

51 views 0 6
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