I am fairly experienced with automations when working in a single project, including creating a link between issues with a shared value. But now that I am trying to do this with issues in two separate projects I've found myself stumped and could use some help!
What I'm trying to do with this automation:
And these are the project/field details:
I have automations that perform the same function, but in a single project. These automations use the smart values condition to compare field values. But, in a single project, the custom field is has the same identifier (e.g., customfield_10178). I'm unsure of how to compare the CBSA field since the identifier is different in each of the projects.
If you dont have scope to work with both projects, you could accomplish this with webhook/webrequest.
Imagine your requirements is that If an issue is created in Project REC with CBSA field populated, you need to find issues in Project NSA with same CBSA value as of REC project.
You will:
Step 1: In Project NSA:
Above step gives you an URL. You will use that URL in below step.
Step 2: In Project REC:
{
"Issue": "{{issue.key}}",
"CBSA": {{ customfield_10178}}
}
------------------------------------------------------------------------------------
I missed few details but above is the gist, please let me know if issues if you are testing this route.
Hi @Brandon
Are these company-managed or team-managed projects? I am guessing they are team-managed, as you have the same field with two different custom field ids.
Out-of-the-box JQL cannot compare two different fields in this way. (It is not a SQL...) Instead you would need to test for the specific value (not the ids of the values) with your dynamic JQL statement. For example, assuming the custom field is a single-select list:
project = someProject AND someCustomField = "{{triggerIssue.OtherCustomField.value}}"
Another difference for your rule is scope: it will need to be multi-project or global to access the issues. Your Jira site admin can help create that rule in the global rules area.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.