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

1 vote
Accepted answer
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 Nov 29, 2018 in Marketplace Apps

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,295 views 0 8
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