Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hi!
I want validate a value of select list (single choice) in parent issue on the create transition so I generate this expresión with scriptrunner, in the test is ok but when I tried to create an issue fails.
issue.parent != null && (issue.parent.issueType.name == "Project") && ((issue?.parent?.customfield_10061?.value == “agile”))
Or how would I restrict on the creation of epic issues only to issues type proyect (principal) with customfield set with option "agile"
Thanks
Hi @Angel, I can confirm that `issue.parent` on create screen only works for subtasks. This is documented in Jira Expressions types.
I reproduce the problem and it works when I create a subtask. So, it doesn't work for other issues under Plans hierarchy.
You might want to raise this with Atlassian to add support.
Hello, @Angel. I moved your post to App Central because your question is about Scriptrunner, an Atlassian Marketplace app.
If you don't happen to find your answer here, I suggest you contact the Scriptrunner support team directly for a faster response.
Best,
-dave
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.