I created a new Jira issue type called "Customer". The purpose is to store information about specific customer as well as identify who the project manager is for one.
On "Customer" I have a couple fields
- Customer (drop down ,single choice)
- Project Manager (user lookup, single choice)
On our normal stories, bugs, etc it also have the same fields.
Today I have some automation where if the "Customer" field is updated on a normal Jira ticket, it automatically updates the "Project Manager" field based upon the "Customer" field. As of right now I have an automation script per project manager where I hard code customers (which works but not a good solution).
What I would like to do is have some automation where it can reference the new "Customer" artifact and lookup the project manager attached to a particular customer. In Excel terms I'm basically looking to do a vlookup on a customer record to pull across the PM for a particular ticket. I know I need to leverage the lookupissues function just can't get it to work. Not sure if it's an issue because I have the "Customer" artifact in another project or if that shouldn't impact it.
Here is the field information
- "customfield_10109": "PM"
- "customfield_10063": "Customer"
Project Information
- Project A (all tickets)
- Project B (test project where the customer artifact is located)