The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Conditions on workflows

Narsha Bac
Contributor
May 8, 2023

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.

Regards,

Narsha

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 Champions.
May 8, 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?

Ravi

Narsha Bac
Contributor
May 8, 2023

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.

Thanks,

Narsha

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events