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

Can you assign a workflow by issue type and another field?

I know that the specific workflows can be created and assigned to specific issue types. However can you assign a workflow based on the issue type and another field of the issue type?

3 answers

1 accepted

1 vote
Answer accepted

Hi @Prash Shyam

More information would be ideal into what your use case is. You can only set workflows per issue type - however, you could customise a workflow to vary depending on a field's value. 

You could do this by using conditions - for example:

  • I create a workflow with "To Do" as the first status - I then have two next options - "Dev Progress", "In Progress" - one is for technical stories, the other business stories.
  • Click on the transition, and select "Conditions" from the pop-up box
  • Press "Add Condition"

Here I can assign various conditions - such as:

  • Value Field - component contains whether it's a technical or business story
  • Project Role - BA vs Developer
  • Only Reporter / Assignee - ensure only specific users can transition an issue

^ This way, you could have one workflow but different steps depending on the user or the value in a field. It's not an ideal solution but - depends on the use case :)

You'd need to be careful though, as removing a field value could end up with an issue being "stuck" in a transition, so I would suggest having a way out as a fail safe (eg. all users can transition all issues back to "To Do" from any status).

For more information on advanced workflow config, see this page.


Great Stephen, perfect solution for the scenario.

Worked well with my requirement.

Much appreciated

Like # people like this
0 votes
tom lister Community Leader Jan 18, 2020

Hi @Prash Shyam 

There is no option in the workflow scheme for a finer grained mapping than issue type.

You will need a separate issue for each workflow you want to implement.

Depending on your problem, you may be able to use scripting or automation to conditionally move an issue to a new type. But this could be confusing.

How different would your workflows be? Have you looked transition conditions, spawning different sub-tasks?


Hi Tom, please refer to Stephen's solution. It works...

0 votes
Veera Atlassian Team Jan 18, 2020

@Prash Shyam 

The simple answer to your question is 'No'.

I am just curious, what's your use case? Why to you want to assign workflow based on another field?

Hi Veera, please refer to Stephen's solution. It works...

Like Veera likes this
Veera Atlassian Team Jan 19, 2020

Thanks @Prash Shyam 

Suggest an answer

Log in or Sign up to answer

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