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

Assign issue from text field email

Hi, 

I have a text field with email value, I am trying to assign an issue based on the email in the text. 

I have also tried with the Automation rule which is not assigning the issue 

 

Any help appreciated,

Thank you,

Roshan 

2 answers

0 votes

How is your automation looking up the email address for the user you want to assign to?

I have used the smart value {{issue.customfield_id}}, which will look up from the text field and assign issue based on that 

OK, that will fetch an email address, which is nothing more than a block of text.  

You're going to need something a bit more clever to read the email address and search for it amongst your people's accounts, and effectively translate it into an (assignable) user id for the assignee field.

correct Nic,

Is there any solution for this?

This is a show stopper, any workaround on this issue, also open to implementing this functionality with the plugin too

 

Thanks!

You will need to code for this new functionality.  I'm not sure you can add a function t automation with a an app, but you could replicate all of what it is doing and include your mapping code in an app, replacing the automation.  Or use one of the scripting apps (obviously, I'd use Scriptrunner here)

Hi @Roshan Vislavath ,

while it's not possible to 'translate' the email address automatically, you could go for branch rules (if we're only talking about a small number of possible - and future - assignments since this will obviously not scale), e.g.

  • Your trigger
  • Branch rule #1
    • Condition - text field equals/contains john@doe.com
    • Action - assign to user john.doe
  • Branch rule#2
    • Condition - text field equals/contains im@doe.com
    • Action - assign to user jim.doe
  • etc.

Cheers
Thorsten

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD Trial
PERMISSIONS LEVEL
Site Admin
TAGS

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