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

create subtask on transition doedn't work properly

Fyodor May 22, 2013

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 votes
Answer accepted
Timothy Chin Community Leader 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.

2 votes
Ramiro Pointis May 22, 2013

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

0 votes

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 votes
Zulfadli Noor Sazali Atlassian Team May 22, 2013

Are you using the Create On Transition for JIRA plugin?

0 votes
Fyodor May 22, 2013

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Next-gen

Introducing subtasks for breaking down work in next-gen projects

Teams break work down in order to help simplify complex tasks. This is often done iteratively, with tasks being broken down into smaller tasks and so on until the work is accurately captured in well-...

1,052 views 13 15
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