Forums

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

Hide custom field on transition screen for a specific issue type

Mohamed El Taweel March 21, 2018

In project "Hr Vacations" ,we have

- three issue types "Emp Vaction Type" , "Worker Vacation Type" and "Management Vacation Type"

- transition "Approved" between status "Inprogress" and "Approve"

  on this transition there transition screen "Approved Screen" with fields (field1 , field2, field3, field4 and field5

  

How can we implement the following requirement:

During the transition, hide the fields (field4 and field5)  if the issue type is "Management Vacation Type"

 

1 answer

1 vote
Nic Brough -Adaptavist-
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 Leaders.
March 21, 2018

Copy the workflow (let's call that wf-new).  Copy the approved screen (let's call that as-new).

Inside wf-new, associate as-new as the transition screen for the approval.

Inside as-new, remove field4 and field5

Go to the project's "workflow scheme" and add a new workflow to it, selecting wf-new and associating it only with "Management Vacation"

Mohamed El Taweel March 21, 2018

Is there any other way to implement it using transaction validation/condition or script

Nic Brough -Adaptavist-
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 Leaders.
March 22, 2018

You could have one workflow with two transitions.  One would have the screen with 5 fields on it and a scripted condition for "issue type != management" and the other have the 3 field screen and a condition for "issue type = management".  But you'd need code for that.

Mohamed El Taweel March 22, 2018

 

The condition can be written using native Jira or I need addon

Suggest an answer

Log in or Sign up to answer