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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,553,087
Community Members
 
Community Events
184
Community Groups

Field mandatory depending on the selection of resolution

Hi 

In on of the transition screen , two fields are there "resolution "field with values done , reject, duplicate

And other field fix version 

 

I need to make the fix version field mandatory only if the resolution is selected as done .

If the resolution is selected as rejected or anything other than done ..then fix version should be optional .

How can I do this 

1 answer

1 accepted

2 votes
Answer accepted
Florian Bonniec
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 12, 2023

Hi @Aswathi D 

Do you have any app ? I would say that it's not possible using only JIRA. Scriptrunner or JSU or Jira Workflow Enhancer may be the solution here but there is many of them that may fulfil your requirements, let me know what you have.

 

It will be a validator.

 

Regards

Hi @Florian Bonniec 

We have script runner and JSU

Florian Bonniec
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 12, 2023

I would use a Simple Script validator for that.

https://docs.adaptavist.com/sr4js/latest/features/workflows/validators/built-in-validators/simple-scripted-validators

https://library.adaptavist.com/entity/duplicate-check?tab=dataCenter

 

If you adapt the example in the documentation, it should look like that:

issue.resolution.name != "Done" || issue.fixVersions

Regards

Hi ,

In which of the below option IScript.PNG need to add this ?

Florian Bonniec
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 13, 2023

None of them, you have to go to the transition where the screen is. Then add a validator on it, select simple scripted validator.

 

Regards

Thankyou so much 

It helps 🙂

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events