Set issue status after convert issue to sub-task

Hi,

would it be possible to set the issue/task status after converting:

  • an issue to a sub task or
  • a sub task to an issue.

using Automation (Lite) for Jira? Thanks in advance!

Frank

1 answer

1 accepted

This widget could not be displayed.
Andreas Knecht Community Champion Oct 11, 2017

Hi Frank,

So it's a bit tricky to do this, mainly because Jira doesn't have a specific event for this case, but simply treats it as an issue updated event for the issue type.

What you can do is setup 2 rules like this:

  • Trigger: Field value changed and select issue type
  • Compare condition:
    • First value: {{fieldChange.fromString}} -> {{fieldChange.toString}}
    • Equals
    • Second value: Task -> Sub-task
  • Action: Transition issue to target status

 

Basically map the Second value to what you need.

You could also use a JQL condition to check for "issuetype in subtaskIssueTypes()" or "issuetype NOT IN subtaskIssueTypes()", but this might also trigger if the issue type is changed from one sub-task type to another (not only on convert from sub-task to issue)

 

Cheers,
  Andreas

Hi Andreas,

thanks a lot. At the moment I haven't installed Automation Lite (because I wasn't sure if this could be done with it). But after your reply I have to give it a try.

Best regards!

Frank

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

533 views 3 19
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