I have an nfeed custom filed which I want to make as read only after particular workflow transition. before that transition field should be editable any time but after workflow transition user should not be able to make the change.
I tried make this read only by behavior plugin but its is not working in case of nfeed custom field.
Please suggest for any solution.
Hello,
nFeed will soon be compatible with Behavior. Valiantys developer team is currently working on it and will release improvements in the next version -> https://valiantys.atlassian.net/browse/NFEED-1727
Regards,
Nicolas
Can nfeed field be set readonly through javascript? If so can you help me on the same?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Vineela Durbha nFeed is known as Elements Connect now.
Check out our documentation for help with using Scriptrunner with Elements Connect.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We dont want to set field readonly through behaviors as we want to set element connect field during clone and not during create. I have written javascript as below and it is working
JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function(e, context, reason) {
var isCloneIssuePage = AJS.$('#clone-issue-dialog').is(':visible');
var issuetype=AJS.$('#issue-create-issue-type').text();
if (isCloneIssuePage == true || AJS.$('#content .aui-page-header-main h1').text() == "Clone") {
alert('clone')
if(issuetype =="Customer Product SKU"){
alert(issuetype)
AJS.$('#customfield_15003').attr("disabled", true); //nfeed field
}
}
});
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.