I've been experimenting with adding default card info using Special:HeaderActions.
I am aware I can edit Defaults under Project Admin/Card Types/Edit Defaults, but I want more than one different default option for the same card type, so I'm using Special:HeaderActions to accomplish this.
I've got a bunch of card creating links now that work fine and look like this:
<a href="/projects/
project
/cards/new?properties[Type]=Task">+Task</a>I'm trying to create new links that auto-populate, which looks like this:
<a href="/projects/
project
/cards/new?properties[Type]=Task&properties[Team]=Shop and Browse&properties[Description]=www.test.com&properties[Name]=NavApp:CR&properties['Story Tree - Story']=THIS CARD">+NavApp CR</a>So this looks & works fine. Team property, Name, Description, etc get populated.
What are the rules regarding what I can put in here?
My specific bug is regarding Description. While I can add multiple words, like this:
www test com
or a URL like this:
www.test.com
I cannot add both, like this:
test www.test.com
or even this:
test.www.test.com
I'd like to add a link, but adding a link without context isn't helpful. I can't add context by other words, or by using inline links ("name":url)
Comments
1 comment
Hi Sam,
I haven't experimented with this to find a clever trick. However, I would like to capture what you're trying to do as a first class feature. Would it be correct to say that what you would really like is to have more than one set of card defaults for a card type? You could then have two links, one based on one set of defaults and the other based on the other set.
Thanks,
Jay
Please sign in to leave a comment.