How do I add a specific property to a status within a workflow

I have a status transitioning from 'Open' to 'waiting on the third party'. But waiting on third party could be 

 

1. waiting on customer

2. waiting on company 

 

How do I ensure that when the jira user clicks on 'waiting on 3rd part' he gets to choose who he is waiting on from the above two options ? what would the simplest way be ? 

1 answer

0 vote
Thomas Schlegel Community Champion Apr 20, 2017

Hi Venkat,

in my opinion, there are two possibilities without too much effort:

Branch your workflow

  • Create two status: "waiting on customer" and "waiting on company"
  • From open, create two transitions: one to customer and the other to company
  • After branching, bring together these branches to one single status again

Create a custom field

  • Create a custom field with two options:
    • customer
    • company
  • Put that field to the transition screen and make it mandatory, if you want
  • After leaving the waiting status, clear the field with a workflow function

 

 

Hi Thomas,Thanks for this .  

Thanks for this .  What do you mean by Put that field to the transition screen and make it mandatory, if you want . How can I do this ? 

Hi Venkat,

when you design your workflow and create or edit a transition, you are able to add a "Transition View" to this transition.

A transition view is a screen that you have to define before using it in your workflow. You create screens in your admin section (Issues -> Screens). Create a Screen, name it "Wait for 3rd party" or so and put your custom field on that screen.

Do you have any plugins for your Jira? To make a field temporarily required you can use the Suite Utilities for Jira-Plugin. It is free and gives you a validator "Fields required" for your workflow step. This validator ensures, that the transition cannot be executed, if the field is not set. 

Thanks. How do I add the screen I created (one you suggested) to my workflow ? 

 

I have created the screen with my custom fields with options. The only thing remaining is adding it on my workflow so that the jira user is prompted with this. 

Thomas Schlegel Community Champion Apr 20, 2017
  • Edit your workflow in Text mode
  • Click on the transition
  • Click "Edit" on the top right corner
  • Change "Transition View" and click "Update"
  • Save your changes

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted 2 hours ago in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

22 views 0 2
Join discussion

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