Hi, can the Script Fragments functionality in ScriptRunner be used to hide the "Add flag" & "Remove Flag" options on Agile boards for 1 project?
I've used the Script Fragements to hide other UI elements but cannot seem to do it for this particular scenario
The reason for this is we are programatically setting/removing the flag based on other field entries, i.e. forcing the user to add a comment as to why they are flagging/unflagging the issue.
Any help is greatly appreciated.
You can only remove UI items if they are shipped in the plugin as a <web-item>, <web-section> etc etc.
Unfortunately JIRA Agile does not play the game.
The context is "gh-rapid".
Hide the flag using:
Get the current issue using:
There may be more to it than I've said above... I have not tried this.