Can custom field values be connected?

I have 2 fields both drop down

 

Name_Short: (this is for creating issues)

AAA

BBB

CCC

 

Name_Long: (This is for the edit/view screen)

John Doe

John Smith

Tom Smith

 

When i select AAA in Name_Short i would like that John Doe is selected in Name_Long and Viceversa.

 

Is it possible?

2 answers

1 accepted

Yes you can do it with workflow post functions and using different screens for create and view screens.

  1. Add both fields to your field configuration
  2. Add Name_Short to create screen
  3. Add Name_Long to view screen and every workflow transition screen for which you want it to be editable
  4. For create transition of your workflow add script post function that sets value of Name_Long based on Name_Short, you can check this documentation https://scriptrunner.adaptavist.com/latest/jira/builtin-scripts.html#_post_functions

use nfeed plugin which will suit best for this type of scenario. You can also use the concept of nfeed plugin to develop a listener to do the job.

 

thanks,

Sumit

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

475 views 1 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you