How to create issues and its sub-issue "in transaction"?

Hi,

I need to create valid issue and it's subissue. However, in order to validatea sub-issue I need to provide it's parent ID (I am using

issueService.validateSubTaskCreate

). Problem is, that the parent issues has not been created yet: I want to create parent issues as soon as I know, that validation procedure for sub-issue will succeed. So I want to work within a kind of transaction.

Thanks for any hints!

:)

Jan

1 answer

1 accepted

0 votes
Accepted answer
Timothy Chin Community Champion Jun 12, 2014

Problem is, that the parent issues has not been created yet

This is your catch 22 then. You cannot create a sub task if you don't have the parent task.

Timothi, I understand that.

My question actually was, whether I can validate creation of issue "P" with children "C1" and "C2". I have all parameters (summary, issuetype, etc.) needed for creation P, C1 and C2.

Thanks

Jan

Timothy Chin Community Champion Jun 13, 2014

Nope. Cause C1, C2, ... needs a valid P issue id/key.

OK,
Thanks Timothi!

I will live with that...

:)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Monday in Jira Software

Implementing Jira in Small Business

Introduction This article will give insight on how a small software development department implemented Atlassian products to enhance and streamline the business process. The privately held company h...

311 views 2 8
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you