Hi all,
I'm looking to update the status of an issue which is linked through the Parent Link field, rather than a issue link or Parent task. I was hoping this is possible through automation or another method.
So scenario is:
Issue status is updated to 'Scheduled', update the Parent Link issue status to 'Scheduled'.
I've been trying to achieve this through Jira automation and none of the options (Parent issue, Linked issue) have achieved this.
Thanks for any help!
Your rule in the image does not seem to match what you are asking. Have you tried something like this:
Best regards,
Bill
Yup, didn't work with either Parent or Epic. Had tried it yesterday. It doesn't pick up the Parent Link unfortunately.
You can see the id's and keys through the Parent Link so it could be possible to update an issue of a certain ID through automation perhaps?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for that information. As follow-up questions:
Is this a Classic or NexGen project? (Parent field only works for NextGen, I believe.)
Please describe the issueType hierarchy you are trying to use, as it appears you have some custom types here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ahhh its a classic project. That might be the issue. Is there any other route i can go instead? I'm starting to look into scriptrunner.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Parent only works with NextGen, but Epic Link works with Classic. However it appears that you have custom issue types; that is why I was asking about your hierarchy.
If neither Parent nor Epic Link will work for your issue types, you can still use Branch with JQL to match the items, and then make the transition update.
__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.
Hi @Simmo ,
I believe it is yeah:
'customfield_10500': {'hasEpicLinkFieldDependency': True, 'showField': True, 'data': {'id': 379068, 'key': 'DPT-27760', 'keyNum': 27760,
@Bill Sheboy do you mean something like this? Even though that syntax does pull the right key in an audit log, JQL doesn't seem to accept it in searches.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This ended up working! So with smartvariables you cannot validate the query within Automation but it still passes!
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.
Glad you got it working. For future reference, whatever you defined as your smart value you should be able to use directly in the For JQL branch, saving you having to define a variable just for that!
Cheers,
Simeon.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Ahmad Sidawi ,
I'm struggling to get this to work, can you paste in what your 'Create Smart Value' dialog looked like?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just something like this (same as in image above):
{{issue.Parent Link.data.key}} and then you can do a 'For JQL' branch.
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.