You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
We need to create an automation on a project in Jira for a particular issue type .
We have the following fields on a project say Project A for issue type Epic
a. QA Due Date( date )
b. Dev Date ( date )
c. FixVersion ( varchar )
d. Project Manager ( jira user )
e. Product Owner ( jira user )
The main goal here is to allow the Project Manager or the Product Owner mentioned in the ticket to populated the FixVersion which is always null initially but he/she cannot edit it once populated
Before the FixVersion gets populated the script must check if the QA Due Date and the Dev Date is not empty if true then an exception should be trigged saying please populated those fields first.
This should validate irrespective of any status in the workflow
How can I go about this ?
I am fairly new to Script-runner. Hoping that this wonderful community can provide some inputs
Thanks in advance.
From your description, you seem to want the validation to occur on the transition screen.
You can use ScriptRunner's Behaviour to handle the validation while setting the Fix Version/s field to read-only.
Please let me know if you would like a sample code.
Thank you and Kind regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.