Hi All,
I wonder if someone is able to help as I'm struggling a little to solve this!
I would like to link issues that have a field that matches within the one project. This field is called "Person number". This field is blank on creation and then populated when work is started.
So far I have automation to run when the value changes within this field and I believe I then require some JQL to identify the matching issues with an action of link issues. Would anyone be able to help me with the required automation component and also the appropriate JQL to find issues that have matching "person number"?
Hi @Tony Styles ,
let's imagine you have 5 issues with the same Person number. Then another issue is updated with the same Person number. You should be able to find all the five issues and link them to the sixth, but will this be the correct result?
First five issues will be linked to the sixth issue, but there will be no link between first and second etc.
Maybe it will help, if you provide us more information, what you are trying to achieve?
Thank you.
Hi @Hana Kučerová ,
Thank you so much for your response, and a very good question too!
Ideally I'd like any new issues that have the person number updated to be linked to any historical issues with the same person number. This would help at that moment in time to find any related tickets. I think this is in fact the scenario you describe in your comment.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Tony Styles ,
thank you!
please try something like this:
When:
Branch rule / related issues:
Then:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Hana Kučerová ,
This is excellent. Thank you! It seems to be identifying the matching issues correctly in the audit log, however is now showing an error linking issues - "At least one of 'id' or 'key' is required to identify an issue."
I really appreciate your time and patience helping me with this!
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Tony Styles ,
this is a little bit strange... would you please share me the screenshots of your configuration and audit log?
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.
Thank you!
I think the problem is in the "Link Issue to" part.
Please, select "Trigger Issue" instead of "Most recently created issue".
Trigger issue is the issue, which has been changed.
Most recently created issue is empty in this context, that's why you get the error message.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Hana Kučerová ,
That looks to have sorted it! Thank you so much for your help with this. Have a great day.
Thanks
Tony
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.
Join the largest European gathering of the Atlassian Community and reimagine what’s possible when great teams and transformative technology come together. Plus, grab your Super Fan ticket now and save over €1,000 on your pass before prices rise on 3 June.
Register nowOnline 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.