Hi community !!
Create an automation so that when an issue transition to status "a" "b" create a task (in another project) and link it.
But on the condition that if it already exists, do not recreate it.
Believe this:
1- Issue transitions "Approved" to "Development"
2 -If matches related issues "related to" condition None match specified (JQL)project = Desarrollo AND issuetype = Task
3-Then Create a task in project ...
4-And link to most recently created issues
But when you rerun this automation, it re-creates the task?
What am I failing at?
Thanks !!!!
Hello Jonathan,
Is the ticket that is being transitioned in the scenario also a task?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, and...to what Bryan asked about:
Your JQL in the related issues condition seems to cover a lot possibilities. Are you certain you only want one Task in that other project?
And...I have not always found the related issues condition reliable, so perhaps try another way to see if that helps. Replace that condition with
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.
Hi @Bill Sheboy
I am trying to create a condition so that if there is already a task linked to the Task that I am transition to, it will not re-create the task.
Try what you tell me but keep creating the tasks
Sorry if it is not understood
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for clarifying, and sorry if I caused confusion.
You do need that related issues condition on a link, and perhaps you have the incorrect link type selected. Please check your test issues to see what the link type is, from both directions, to see if there is a different value that should be used.
If you still want to try this with just JQL and Lookup Issues, this should return no issues when the condition is met using linkedIssues()
project = Desarrollo AND issuetype = Task AND issue IN linkedIssues( {{triggerIssue.key}} , "relates to")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your support, but i can't find my mistake:
My request is as follows:
When I transition a task from Aprobado to Desarrollo in the "Operaciones" project, you have to create a task in the "Desarrollo" project and a "related to" link, but if this transition is made again by mistake, this task is created again, then It is duplicated, how do I create a condition for it to validate if it doesn't have a task linked to related to?
1-Issue tipe task transition "Aprobado" to "Desarrollo" (Project Operaciones)
2-Create a Task in the project "Desarrollo" and link to trigger issue link "relates to"
3- I go back to the status Aprobado
4- I go to the status Desarrollo
5-Create the task and its link again, this should not happen since it duplicates the task, what condition do I have to create in automation
Thanks !!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Bill Sheboy @Bryan Trummer - ReleaseTEAM
I was able to solve it, I just needed to add the other project where the task is created.
Thank you very much for your help, they guided me in understanding the automation logic.
Greetings
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great! Glad you were able to solve the issue!
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.