How to create dummy Sub-task if an Issue is created.

Requirement:

Create a sub-task for each creation of Bug issue.

Means, if we create a bug issue then a postfunction should create a sub-task in it.

1 answer

1 accepted

1 votes
Mizan Community Champion Jan 07, 2013

Hi ,

You can use the Create on transition plugin . Its provides a postfunction for creating a subtask . You can add this postfunction on the Create transtion.

Exactly the same requirement is found in mentioned plugin.

But it is providing the extra functionalites also

I want only the specified requirement.How to do customization?

Mizan Community Champion Jan 08, 2013

What extra functionalities is provided ? I dont think you will need customization , you dont use what you dont want :)

Renjith Pillai Community Champion Jan 09, 2013

Why is that needed for creating sub-tasks?

Link type ids is what you get by going to http://yourserver/secure/admin/ViewLinkTypes.jspa

what is issueLinkTypeId and how can we get it?

Yes you're right?

For the given link I am getting

XSRF Security Token Missing

browser error

Renjith Pillai Community Champion Jan 09, 2013
  1. Log in as a user with the JIRA Administratorsglobal permission.
  2. ChooseAdministration at the top right of your screen. Then choose System > Issue Features > Issue Linking(tab) to open the 'Issue Linking' page.

The link was to the same page.

https://confluence.atlassian.com/display/JIRA/Configuring+Issue+Linking

Thanks Renjith, I got basic Idea about it

In the method call

createIssueLink(parentIssue.getId(), subIssueObject.getId(),xxxxx , user);

xxxx is issueTypeLinkId is a long type and how to get the type which is present in JIRA.

Renjith Pillai Community Champion Jan 09, 2013

I guess this should been posted as a new question. I thought the orginal question here was about creating a sub-task.

Renjith Pillai Community Champion Jan 10, 2013

Again Bharadwaj, new question. Before that try a google search :)

If I need to develop, the automatic creation of subtask issue when I create a Bug type issue.

How to approach?

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,934 views 12 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot