Forums

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

Custom Fields condition based on Parent issue type

Naresh
Contributor
October 26, 2022

 

Datacenter  ..  8.20.x

 

Parent Issue – Issue Type --  Informat

 

 

Below is Subtask Workflow

 qad.PNG

Sub-task : Workflow :

There  is  custom field,  “Infra” in the subtask.

  • When status is in “REBA” the custom field “Infra”  should be  Read and Write  (Also if and if the parent issue type is “Informat”
  • When status is in “In Progress” the custom field “Infra”  should be  Read Only  (Also if and if the parent issue type is “Informat”

1 answer

0 votes
Seifallah Bellassoued
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.
October 26, 2022

Hello,

For the read and write Infra field, i guess to add it only to view screen and then add a new transition from "REBA" to "REBA" like the attachment below. On the "Update Infra" you can add a transition screen that contains "Infra" field.

Finally, you can add a scriptrunner "Simple scripted condition" with this code to let the transition visible only if the parent issue type is “Informat”.

return issue.getParentObject().getIssueType().getName() == 'Informat'

Image 4.png

 

 

I hope it could help you.

Regards,

Seif,

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events