Heads up! On March 5, starting at 4:30 PM Central Time, our community will be undergoing scheduled maintenance for a few hours. During this time, you will find the site temporarily inaccessible. Thanks for your patience. Read more.
×How to get sprint status using groovy script in behavior
I am using field.state?.last()?.toString() but it is giving me error.
Can anyone help me on this
Hi @Vineela Durbha ,
Could you provide a little more context? Where are you trying to get this value? What is the use case?
Kind regards,
Bobby
I am trying to get sprint status of an issue using behaviors
So i am looking for script to get the same. I have written like
sprintfield.state?.last()?.toString() but it giving me error
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also based on this sprint status (like say active) i have to make some fields read only in behavior
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any help on this would be greatful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately, currently you are unable to get the Sprint information for the issue you are creating, as the Sprint field is not a field that Atlassian have built in support for in the UI modification API.
We are trying to capture requests for certain system fields on our Nolt board here. This allows us to feedback to Atlassian which fields our users want to access to allow.
I am sorry I cannot be of more help!
Bobby
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.