Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I attach a sub-task to a differently created ticket from its parent?

I am using Automation for Jira and my goal is to create a ticket that copies the original ticket:

Team and Ticket Number: {{issue.key}}
Description Body: {{issue.fields.description}}

This approach does not stop the other team from moving their ticket into the done column. It's essentially a dupe that we track on the automation side. I've accomplished that so my question is:

How do I create a sub-task for the dupe ticket, and that sub-task only shows on our dupe and not the parent ticket?

When I create the following action "And: Create a new sub-task" after "Then:Create a new" I get the following error:

Create issue

Error creating issueSub-tasks must be created in the same project as the parent. (project)

1 answer

0 votes

Hi @Jeremiah_Jacquet 

What to you mean by "only show on our dupe" ? this is a filter, a project ? A subtask belong to an issue, you can't create a subtask that will go on a other projet that the parent, if you want something like that, just clone or link a new ticket in the project.

Project A will have a ticket, and project b will have a ticket that is linked to my first ticket.

Hi @Mohamed Benziane thanks for the response. Heres a detailed explanation of what we're trying to accomplish. 

- A team creates a feature that requires testing. We've created a selectable field in all the team's tickets that allow them to notify the testing team that it needs automation. This is done by selecting "needs testing" in a custom selectable field.
- Once that is selected, Automation for Jira creates a copy of that ticket and links back to the original ticket. We do it this way because we have limited resources so TDD is not possible and we don't want to block them from completing their ticket.
- Now that a request for automated testing has been received in our backlog, we begin to track our tickets and efforts differently. Meaning, we create the test-scripts but we also need to remember to enter a subtask on that duplicated ticket to perform other tasks such as generating a test case id in a separate test case manager handled by another piece of software. 

 

So now that I know, you can only create a sub-task based on its parent. How do I tell Automation for Jira to create a sub-task on the newly created ticket(the dupe)? 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

Do Not Lose your Customer’s Trust

Missing deadlines is one of the biggest problems every team lead wants to avoid when dealing with managed services. When the customer contracts your company to help with IT services it is expected th...

24 views 0 0
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you