Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is there a way to implement an IF Condition in JIRA?


I'm working on a workflow for a customer right now.

I've got a checkbox option and already implemented via postfunctions that for each option checked it will create a sub-task.

The reason is he wants validation from department leaders if someone asks for access to the project. So I've made a checkbox with all the departments and a postfunction for each of it.

Now he wants that these subtasks be automatically assigned to the department leaders.

Say there are the departments A, B, C and D.

The user checks the boxes for A and C. The workflow creates subtasks.

Now I need to assign the first subtask to department head A and the second to department head C.

But I don't know how to do that. Is there a way to achieve that?

2 answers

1 accepted

0 votes
Answer accepted

Solved it. I set the components in the project, gave the component value to each subtask and let it auto-assign to component head. :)

Hi @Juliane_O ,

since you're mentioning the sub-task creation via post function, you're probably using a worklfow app (issue creation via post function isn't possible in Jira out of the box). Could you please tell us which one you're using?


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

531 views 1 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you