Hey all,
so i have build this Automation which copys comments to a certain parent Request Type whenever a comment is made: A Sales Order Ticket is always a parent of a Sales Order Service Ticket.
The Automation works just fine when i manually create a Sales Order Ticket and link a Sales Order Service Ticket to it via link issues (not Sub-task). All Comments made in the Sales Order Service Ticket get copied to the Sales order Ticket as an internal note. Done. :)
However: This does not work in the following example which is way more important:
We have an ERP linked to our JIRA Cloud Instance. Sales Order Tickets and Sales Order Service Tickets are almost always created automatically whenever an order including Services is placed. This process is triggered from said ERP. They have a Parent - Child Relation.
Whenever a comment is written in a Sales Order Service Ticket, that has been created automatically the Jira Automation states to following Audit Log ( No actions performed):
I cant seem to find any obvious issues with our Parent Child relations in Tickets. At least I cant spot the difference between manually linked and automatically linked Tickets.
Does anybody know what might be the root cause for the problem we are facing?
Is this more of an internal API ERP topic?
If I understand your use case, I wonder if there are timing issues in the solution...
You stated that: Whenever a comment is written in a Sales Order Service Ticket, that has been created automatically the Jira Automation states to following Audit Log ( No actions performed)
You also state this: We have an ERP linked to our JIRA Cloud Instance. Sales Order Tickets and Sales Order Service Tickets are almost always created automatically whenever an order including Services is placed. This process is triggered from said ERP.
Kind regards,
Bill
Hey Bill,
Thanks for your reply
Currently out of Office. I'll get back to you as soon as possible.
Janek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Bill,
sorry for the long hold up.
As for your Questions:
The creation of a Sales Order Ticket and Sales Order Service Tickets is triggered through the ERP. They are created with a REST API. To my knowledge there are no further Jira automations involved -( but ill check this just to make sure)
Best
Janek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I found the issue... i guess this took me way too long to realize but here it is:
Our ERP creates issues via REST API with the following link types:
"parent of"
"child of"
I did not know that and did not bother to check...
The Automation asks for the link types:
"is parent of"
"is child of"
Furthermore, if you manually create a linked ticket in our Jira Instance its done via the "Action" bar next to the Status indicator. All of these issues are always created with the link type "is parent of" and "is child of". I thought the ERP did the same :/.
Anyways, thanks for the help. This issue is solved :D.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Janek Looschen
Are you sure that the Linked issue is having is child of as the Link type and not is backed by, which is think is the default Link type for the automation?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Tony Langlet ,
thanks for your reply.
Yes, i iam sure that the linked issue type is in fact "is child of". That is what it says inside of a ticket.
Is backed by is also not a link type that i can select. Is that an on prem only Link type? Typo?
Janek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've never bothered with the linked types but there is a section in the configuration/settings for Jira where you actually create the Link types, happy I learned something today...
Are the tickets created in different Projects?
Try making a test automation with a manual trigger (to avoid incidents) and change the link types to allow all and see if works, like @John Funk mentioned.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Tony Langlet ,
the tickets are all created in the same Jira Project.
Ah, yes, that could do the trick. I'll try it out and get back to you and John :)
Thanks so much for the help
Janek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Janek - Welcome to the Atlassian Community!
That's certainly weird. If you create a filter- maybe something simple like key in (ABC-123, ABC-456) where 123 is a manually created one and 456 is an auto created one - then in the results of the filter displayed the Linked Issues field. See if you see any differences there.
Also, will the auto created issues have any other links other than the one child? Thinking if no, that maybe just using linked issues versus using the specific "is child of" to see if that helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @John Funk
thanks for your reply.
I`m afraid i did not fully understand your suggestion.
I sould build a JQL Filter one that looks up an Automatically created child and one that looks up a manually created one?
The Automatically created Ticket can have multiple Child Tickets. The amount of linked Child tickets is dependant on how many Services are sold within the placed order of our customer.
Thanks for the help
Janek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Was just trying to compare the results of the links with a filter for each type created to see if there was something different about the.
Also, can you answer my last question?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey John,
sorry for the long Hold up.
I checked if there are any differences for the JQL Filter when looking for automatically and maually created tickets.
JQL to look up the issues:
project = ESD AND "Request Type" = "Sales Order Ticket (ESD)" AND Issue in linkedIssues("ESD-4709")
The results for are the same unfortunately. In both cases the query shows me the parent Issue.
The Automatically Created issues are created Via REST API. Maybe that info helps.
In the meantime ill try to work on my Automation and see if i can fix it myself :)
Sorry again for the long wait and thanks for the help
Janek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I found the issue. Answer is above :)
Thanks for the help, Issue solved.
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.