I've tried to add one scripted field which fetches release date from fix version and showing this on issue screen but it didn't work.
Please help me for fixing this problem.
1,Release date of fix version:
//--------------------------------------------------------------------------------------------
2.Scripted field configuration:
//--------------------------------------------------------------------------------------------
3. Issue View screen:
Hello @Jamil Rahimov
could you check with the following code?
if (issue.getFixVersions())
{
if (issue.getFixVersions().last().getReleaseDate())
{
newDate = new Date(issue.getFixVersions().last().releaseDate.getTime())
if (newDate)
{
newDate2 = newDate.toTimestamp()
}
return newDate2
}
}
Best regards.
@Juan José Marchal Gómez
Same result
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Jamil Rahimov ,
2 tests please.
1) Could you check the code in "scriptfieldconfiguration" using the issue that "fails" and show us the result?
2) Could you check saving as text the template of "scriptfieldconfiguration" and share with us the value of this field. This field will appear in the left side of the issue, in the same place as summary or issue type.
Best regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.