When a user updates the default value for my custom field I need to perform additional actions on previous instances of my custom field. To do this properly though, I need to know what the context is for my custom field so that when I search for previous instances to update, I only update custom fields with the same context.
Can someone point me to the code I need to use? Thanks.
For some reason I'm unable to provide the following as an answer, so I'm going to just update this description with what I was able to figure out.
I was actually able to figure this out so I'm documenting it here in case someone else needs the same information.
In my the setDefaultValue method of my custom type I had to get the FieldConfigSchemeManager and pass it the FieldConfig. From the object I received I was then able to get the Contexts which gave me the Projects from which I was finally able to get the Issues that needed to be updated.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in talking to 20 people planning t...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs