Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Conditions on workflows

Hi Team,

I need some help please.

To give you some context, I have some stories and tasks in my sprint and I also have another issue type (for e.g. Release). I have a sub task in my release issue type.

In the workflow (for the sub task), I need to be able to put a condition where if all stories and tasks are done in the current sprint then I can transition the sub task to a specific status. 

On the contrary if there are stories and tasks still open in the current sprint, then I transition the sub task in another status. 

I assume this must be done via scrip runner? If yes, can you please guide me on the jira expression needed to achieve this?

Thanking you.



1 answer

0 votes
Ravi Sagar _Sparxsys_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 08, 2023

Hi @Narsha Bac 

You can do transitions using automation rules. You don't need ScriptRunner for that.

My first question is why do you want to do this automation? Do you have PM/SCRUM Masters managing this sprints and ensuring that the statuses are up to date?


Hello Ravi,

Thanks for your response.

From what I understand, automations will do the transitions automatically which I don't want. As I mentioned earlier, I want transition A to appear when all issues are done. And transition B to appear when some issues are still open.

The aim of doing this is to capture some info in the sub tasks when there are tasks and stories still open in the sprint and which will be carry forward to the next. These info will help the PM understand problems or delays happening in different teams.



Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events