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
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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published 5 hours ago in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

27 views 0 2
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