How to assosiate the workflow with field configration
Asked by ???:

Hi, I meet a trouble.

I creat a screen when the workflow was transitioned to cancle. -----done.

But when I set the field "the reason for cancle" is required, it will affect all the issues.

I have creat the field configration, but how to assosiate the field configration with the workflow(the screen).


Answers:
author: Trudy Claspill
body: Hello [@???](/t5/user/viewprofilepage/user-id/5205943)

Are you working with a Team Managed project or a Company Managed project? That information will display at the bottom of the panel on the left when you are viewing the project.

I think I understand your challenge. When you transition an issue to "cancle" you want to require the user to fill in the field "the reason for cancle".

If you are working with a Company Managed project then to do that you need to create a separate screen that will be displayed during the transition. You add the field "the reason for cancle" to that screen. You then modify the Transition so that it will show that screen.

In this example I use the Resolution field. First I create the Screen with that field.

![Screen Shot 2023-06-01 at 10.56.00 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/260808iC04BCF69972BC1FA/image-size/large?v=v2&px=999 "Screen Shot 2023-06-01 at 10.56.00 AM.png")

Then I modify the workflow to add the screen to the transition.

![Screen Shot 2023-06-01 at 10.58.38 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/260809i85772BD099D73156/image-size/large?v=v2&px=999 "Screen Shot 2023-06-01 at 10.58.38 AM.png")

![Screen Shot 2023-06-01 at 10.59.50 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/260810i9724BFADB31820BC/image-size/large?v=v2&px=999 "Screen Shot 2023-06-01 at 10.59.50 AM.png")![Screen Shot 2023-06-01 at 11.00.16 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/260811i0D29930CBA17B9F3/image-size/large?v=v2&px=999 "Screen Shot 2023-06-01 at 11.00.16 AM.png")

Then publish the workflow.

After that when the transition is executed the specified screen will appear and the user can fill in the value.

comments: author: ???
body: Yes, I know this. Thanks for relpy first.

But If I want to make the "the reason for cancle" required, how to do?

If I change it in the field configration, it will affect all the issues.


author: Trudy Claspill
body: If you want it to be required only during that transition the add a Validator to the transition to make the field required at that time.


author: ???
body: Thanks for your reply.

But what is the Validator? I'm sorry I don't understand it.


author: ???
body: [@Trudy Claspill](/t5/user/viewprofilepage/user-id/3569011)

I have found it and make it successful.

Thank you very much.


author: ???
body: By the way, is there any other kind of ways to add only a comment screen when the status changed from "todo" to "cancle"?


author: Trudy Claspill
body: Make another screen that has only the Comment field on it. Add that screen to the workflow transition from "todo" to "cancle"

If my replies have helped you solve your problem, please consider marking the Answer as Accepted to help other users find posts with validated solutions.


Tags: cloud

jira-work-management-cloud