Forums

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

Automatically fill a custom field against all issue types- by fetching a keyword from user data

Bela Maitrya
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 7, 2020

Hi,

Eg:

We capture the logged in user in JIRA as - the name of the user suffixed with the department name. e.g   'Jamie Mathew Finance'. 

I want to pull the keyword from the user data e.g 'Finance' and automatically update a custom field 'Business Group' as 'Accounting'.

Basically 'FInance' keyword pulled from user data should read as 'Accounting' in the custom field 'Business Group'

Can this be achieved in JIRA?

Below is somewhat similar but not exactly what i am looking for. Please help.

https://community.atlassian.com/t5/Jira-Core-questions/Automatically-fill-custom-field-based-on-user-data/qaq-p/445124

 

 

1 answer

0 votes
Ste Wright
Community Champion
August 8, 2020

Hi @Bela Maitrya 

It is certainly possible to do. I think it would be easiest to do with an app. The type of apps you could use are:

  • Scripting Apps
  • Workflow Extension Apps (like the one mentioned in the previous question)
  • Automation Apps

I used Automation for Jira to create an example - this is how it works:

  • Trigger: Issue Created - rule runs when any issue is created in a project
  • Branch: This allows for a sub-rule to be run, so multiple possible outcomes could be applied to the issue that triggered the rule, depending on conditions
  • Condition: Compare Values - check if "issue creator" contains a keyword - such as "Finance"
  • Action: Edit Issue - automatically populate a field, such as updating "Business Group" to "Accounting"
  • More: Continue adding Branches, Conditions and Actions until all possible combinations are covered

^ This would cover the need in your original question.

This is just one option though - what I would do is look what apps you already own - or which kind of app would best suit your organisation from the Marketplace, also based on your need - and look at how to create this automation!

Ste

Suggest an answer

Log in or Sign up to answer