Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • 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

Automatically set custom field value based on user group

My company's development model uses "channels" to funnel in new features, enhancements and impediments from multiple business units.  Some examples would be a 'Sales' and 'Customer Support' channel. The problem is each channel has access to every project/product. I know this isn't ideal, but that's not my call. 


I would like to find a way to automatically set a custom channel field's (single selection list) value based on the user group that creates the issue. So if a user from the 'Sales' group creates an issue, the 'Channel' custom field would be set to 'Sales'. 


I'm not a programmer, so I'd prefer a way to implement this within JIRA's admin rather than some JS in a config file. That being said, if there is no way to do this with JIRA admin, I should be able to highjack a devs time if there's some sort of roadmap to follow for implementation. 


Thank you for any and all suggestions

1 answer

Well, turns out you can do this as a post function from the create transition using custom user property values. 
JIRA allows you to add custom 'user properties' to each individual user. 

  1. Choose  Admin Cog > Issues
  2. Select User Management > Select User.
  3. Select Actions > Edit Properties.
  4. Input desired property key (channel).
  5. Input the new properties value. Example: User is in sales channel, so the value of the new property is Sales
  6. Select the Add button. 

Now you can use that new property to create a post function on the 'create' transition. 

  1. Click Edit for the workflow that has the transition you wish to configure the post-function on.
  2. In the Workflow Designer, select the transition.
  3. Click on Post Functions in the properties panel.
  4. Click on Add post function.
  5. Select Set field value from User Property value from the list of post-functions. (You'll need the Jira Misc Workflow Extensions plugin to access this post-function)
  6. Click on Add to add the post-function on the transition.
  7. Input the user property name in the Source User Property name field.
  8. Select the field name from the Destination Issue Field drop-down.
  9. Click on Add button to add the post-function to the transition.

Hope this helps somebody else. 
Thanks for reading. 

Hi @brian steele,

I don't have this post-function option "Set field value from User Property value"
Do you have a add-on for this?

@Andreia Couto,

I wasn't aware of any added plugins at the time, but it appears that one of the other admins added the Jira Misc Workflow Extensions plugin to our instance. 

Sorry for the inconvenience and I hope this helps you. 

I'm trying to get users properties values whithout adding more add-on. I have script runner but i can't find a why to write it.

but thanks anyway,


Suggest an answer

Log in or Sign up to answer

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