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

This widget could not be displayed.
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.

This widget could not be displayed.

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

This widget could not be displayed.

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?

This widget could not be displayed.

Are you using the Create On Transition for JIRA plugin?

This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

200 views 1 3
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