create subtask on transition doedn't work properly

Hello
We detected a huge problem.
Using create subtask on transition sometimes doesn't create subtask, instead it create a not subtask issue (but with subtask issue type)!
We can not detect which configuration property raise this error.

postfunction is "create subtask"

issue type of subtask is "testing task" (in project issue type this issue type is specified as SUBTASK type)

Steps:

1) created subtask "testing task" by presiing specific transition (with specific postfunction) on parent issue

2) "testing task" was succefully created and I see that this is a subtask when I am inside parent issue ( I see it in subtasks list)

3) I open this new testing task, but I see this new testing task as main issue in project, not as subtask with parent issue!


Please help us to solve it.

BR,

Fyodor

5 answers

1 accepted

0 vote
Timothy Chin Community Champion May 22, 2013

If you don't know what's wrong, remove the post function. It's better to have not issues messing up your JIRA then to leave it there.

By default, JIRA has no functionality to create sub task on a post function. I suggest you find out which add-on does that for you. You can do it by downloading the workflow as XML and digging through it.

Hi I would recommend using Script Runner plugin for this, here you have some docs about this:

https://jamieechlin.atlassian.net/wiki/display/GRV/Built-In+Scripts#Built-InScripts-Createasub-task

When you say sometimes... may this be project related? I mean if you have a project with noc subtask issue types presen even the plugin can't create a subtask...I image you'Re using create on transition plugin?

0 vote

Are you using the Create On Transition for JIRA plugin?

Hi all

We are using create on transition plugin, version 2.3.0.

Project issue type scheme has many issue types, but current issue type "testing task" is specified as SUBTASK.

Also I see this testng task in subtask list when I am located in parent issue , however I can not see any connections with parent issue when I am located in testing testing task

BR,

Fyodor

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

166 views 1 10
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