Forums

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

Creating dependency filed in jira

Pooja
Contributor
March 3, 2020

Hi Team,

We need to create a dependency filed in such a way that,

The dependency  select list 1 field is present in create screen and dependency select list 2 filed is in one of the workflow transition screens,

Can we achieve this by any of the add-ons in Jira?

 

Regards,

Pooja

1 answer

0 votes
Ste Wright
Community Champion
March 8, 2020

Hi @Pooja

I'm assuming you're creating two fields - such as a drop-down or similar - to store these dependent values?

You can add these custom fields to any screen you wish - for the first one:

  1. Create the custom field (Jira Admin > Issues > Custom Fields)
  2. If your create, edit and view screen at the same - you can just add the field to the relevant Screen and it will appear on there
  3. If not, you'll need a separate Screen for each issue operation. If you don't have this, duplicate your current Screen and add the new field to the duplicate
  4. Next, go into Screen Schemes, locate the relevant scheme and press Configure
  5. Press the "Associate an issue operation with a screen" button in the top-right
  6. Select the Issue Operation "Create Issue" and the new, duplicated screen

Remember if you just add it to the "Create" screen it will be hidden from the View screen, you need to add it to both to ensure it comes up on the issue.

For more information on screen schemes, see this page.

----------------

For the second one:

  1. Create the custom field (Jira Admin > Issues > Custom Fields)
  2. Locate the relevant workflow transition screen - and add the field to it
  3. If you don't have a relevant screen - create a new screen (Issues > Screens) and add the field to it
  4. Next go to Issues > Workflows, locate your workflow and press Edit
  5. Click on a Transition and press Edit
  6. Change the Screen in here to your new screen and press Save
  7. Publish the draft to activate your workflow

If you need to ensure it's populated, you could use a Validator within the transition to ensure it is required.

For more information on mapping screens and transitions, see this page.

Ste

Suggest an answer

Log in or Sign up to answer