Forums

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

Set text field value to user select field

İclal Aslan
Contributor
October 30, 2024

Hi,

 

Is there a way for me to set user select field from a text field.

 

Lets say if a text field says : İclal Aslan is there a way for me to set a user field to İclal Aslan?

2 answers

2 accepted

3 votes
Answer accepted
David Fischer
Community Champion
October 30, 2024

Hi @İclal Aslan 

You can indeed use JMWE's Set Issue Fields post function for that, with a value like:

{{ issue.fields['Custom text field'] | findUsers | first | field("accountId") }}

However, as Dick mentioned, this is not super reliable, especially if you have users with similar names.  

İclal Aslan
Contributor
October 30, 2024

this worked perfectly thank you!!

2 votes
Answer accepted
Dick
Community Champion
October 30, 2024

Hi @İclal Aslan , 

Yes there is, though with an automation that uses the text entry to find a user by their .displayname

Atlassian on smart values with user properties

It's better though to have a userpicker custom field instead of the text field to avoid typos in the name.

 

Hope this helps,

Dick

By voting for helpful posts and marking answers to your question, you're helping people with similar questions find a solution more quickly. Sharing is caring applies to knowledge as well :)

İclal Aslan
Contributor
October 30, 2024

Can i use jmwe plugin for this? automation has limit so if possible using jmwe would be a life saver!

 

thanks.

Dick
Community Champion
October 30, 2024

JMWE uses the same smart values as Jira, so I expect it to work for you. I'm not a 100% sure, as I'm not familiar with JMWE though.

:)

Dick

İclal Aslan
Contributor
October 30, 2024

thank you! :)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events