Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Issue with a custom field while resolving a ticket

I have a particular field that has been added as a custom field . That field is a descriptive text field . The requirement is that this field needs to be filled only while resolving the ticket and not in any other statuses of the ticket . But if we are making it mandatory then the field becomes a mandatory field even when we are creating the ticket and also if we try to move it to any other statuses, The field should be mandatory only while resolving the ticket . How do i do that ? Can anyone kindly help ? 

2 answers

0 votes
John Funk Community Leader Feb 14, 2021

Hi Soutam,

The way to do that is to add a Transition screen to the transition to Done. 

So create a new screen that Just has the text field (and maybe the Resolution field if you want the user to select that at the same time - otherwise, just set the Resolution with a post function).

Then attach the screen to the transition. 

You can add a validator to that same transition for the text field to be required. 

Thank you John. Can you show me if possible how we do that as i am not very well versed in creating this . I am relatively new to JIRA admin role. If possible let me know if we can discuss over a Teams call .

John Funk Community Leader Feb 15, 2021

Sure, I can describe. Go to Settings > Issues > Screens

Once there create a new screen and give it a name. Just include the new text field on the screen (and again, maybe the Resolution field if you want them to set it there).

Once the screen is created, go to Settings > Issues > Workflows to edit the workflow.

Click on the transition to Done (the line in the workflow that goes to the Done status)

When you get the popup box that shows Conditions, Post Functions, etc. then click on Edit. 

There you will be able to add the new screen you just created. Then be sure to Publish your workflow and it should work for you. :-)

Hi @Soutam Roy ,

You don't need to make it mandatory if you wish to get it filled up at certain stage of your workflow.

It can be achieved by adding a new condition by following the stpes

  1. Go to required workflow transition
  2. Add a new Conditions and select 'Value Field' option,
  3. Add required details to make custom field 'not null' and save.

With these changes, user won't be able to complete transition unless your field has a value.

Hope it will help!

Regards.

HI , Thanks for your response. The configurations and workflows used here is shared among different projects . Kindly let me know if it would be possible for you to get in a brief call as i would not want to unintentionally make any mistakes that would affect anything adversely. 

Regards,

Soutam 

hi @Soutam Roy ,

You can handle multiple projects based on it's id in conditions block by using if-else blocks.

Regards.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,071 views 8 28
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you