Hello all,
I have 2 issue types, 'Eng.Problem' and 'Change Request' (CR). Their issues are connected with a custom link 'solves - is solved by', where a problem is solved by one or more CRs and a CR solves exactly 1 problem.
This worked fine, until we decided that we want a parent-child relationship between them. So I 'upgraded' Eng.Problem to level 2 hierarchy and CR to level 1, so now a CR can be the child of a problem.
The final step is to take the linked problem from every CR and assign it to the parent field. I tried to do it with an automation but I keep getting the same error (data was not an object(parent)).
Hi @d_kamposos
I think you are using wrong json to set parent. Please check this thread - https://community.atlassian.com/t5/Jira-questions/how-to-update-the-parent-field-of-an-issue-with-API/qaq-p/2574491
Regards,
Seba
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @d_kamposos
Please post an image of the audit log details showing the rule execution. That may help provide more context for this symptom. Thanks!
Until we see that...
You could restructure your rule to only process when there are issues to update. For example...
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.
Hello @Bill Sheboy
My problem was the wrong JSON format that I used, so I accepted Sebastian's answer, but thank you for always being helpful and pointing out additional concerns!
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.