You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.