Hey all, Ive been looking on the forums but haven't been able to get exactly what I need.
Im trying to link two issues (different project) of the contain the same label value. Im using Jira Automation and I was able to get my logic to run but its not finding the matched issue and in turn not linking.
Hi,
Here is an example of what I have in mind based on what I unserstood from your description
I hope this helps, let me know what you find out.
Hi @Mat Levell
First, I notice what appears to be a typo in the JQL for your Lookup Issues action: there is a space between the period and the custom field id.
Next, you note the issues are in different projects. What is the scope of your rule: single-project, multiple-project, or global?
A single-project scope rule can create (or clone) issues in other projects, but it cannot access them otherwise. For the lookup to access issues in another project, and then link them, the rule must be multiple-project or global in scope.
Your Jira Site Admin will need to change the rule scope as it is changed in the global rule configuration area of Jira.
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.
Thanks @Bill Sheboy the typo fixed the finding problem but now its not linking to each other. I suspect im doing something wrong with the branch and link.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you want to link those issues to the trigger issue, use a branch on JQL rather than the Lookup Issues action.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Bill Sheboy I got it working but if I use more than 1 label on the source issue it doesn't work. I source issue might have many labels that will link to a many issues in the other project.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Change the JQL to "original vehicle id" in ({{triggerIssue.customfield_10301}}) with no quotes around the smart value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @said kouzibry I tried changing it to "In" and removing the quotes but since im using a label field I dont think its supported. (last resort I can change it to list field)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You need parenthesis around the smart value so that when it's interpreted, it would give something like "original vehicle id" in (FME100005)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are missing the outer parentheses that @said kouzibry suggested.
What is the type of this custom field? That may impact the syntax used for the JQL.
Next, when there are multiple values in the trigger issue, are you trying to match on any values provided, on all values, or both possible cases?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yep the parentheses were the problem, It was two custom field (label). If the label/s matched from the CIT issue, it would automatically link to 1 or many VCB issues (there is one matching value in the VCB project). You've both been extremely helpful, I would have been lost without you!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.