Starting from 13.2.2, there are two minor changes.
1. The value query macro is not supported as part of URL, as seen below:
/projects/project_id/cards/new?properties[Type]=Task&properties[Story]={{value query: SELECT Number WHERE Number = THIS CARD.Number}}
Mingle will throw a 500 error - after saving and clicking the link - prompting you to either return to the Projects page or to sign out.
Users often use this macro to create new child cards while on the parent card. An alternate solution would be to add a child card to a parent card by clicking on the blue add icon to the right of the tree. This will bring up a box that will allow you to add multiple cards to a card type. (see below)
2. The {{project}} macro is also no longer supported as part of the URL.
Old method: /projects/{{project}}/cards/new?properties[type]=Story
New method: /projects/project_id/cards/new?properties[type]=Story
Comments
14 comments
Is this any answer this? Is it a bug? or does Mingle in fact no longer support this type of thing?
Hello Paul. Unfortunately, we intentionally changed this as part of the move from wiki markup to WYSIWYG and so Mingle will no longer support embedding macros into links. Sorry for the inconvenience. What were you using this feature for?
Hi William...
This feature would be used to craft URLs that pre-populate new cards with know information based on the Card that they are currently viewing. It would also be helpful in pointing to filtered views - again: using information from a Query (like THIS CARD or other queried values). This would make Mingle more user friendly and relieve the user of having to set different attributes which may already be known.
Thanks for your response. I had also opened a ticket with support and Leo responded with the same answer. I was hopping I was going to find a custom macro here that provided this functionality (create links with Query values), but have not come across one...
Paul.
Unfortunately my team used this feature extensively as being able to add a child from a button within the card is very helpful and avoids the user having to switch to a different view and re-locating the card in order to add children. Are there plans to re-introduce this feature in future?
Of course a 'add child card' feature build into the card editor would also work.
Hi Simon
There is an add a child button in the properties section of the card. Are you able to use that?
Cheers
- Suzie
Hi Suzie - Thanks I realized that after leaving this comment based on Leon's email. However this does not work as well for us for these reasons:
Allowing the 'Add with Details' would help - best would be to add a macro to call this feature as an option in Wiki page.
Thanks
Hi Simon
Thanks for the feedback. I agree that little button is not that easy to find and does not necessarily support the activities you describe very smoothly. Likewise I think that having you add a macro to the card content to get that function is not great either, although I appreciate that it did work for you. As you may have heard us talk about elsewhere on the community, we are very focused on usability right now and want to make it as simple as possible for you to do your every day tasks. I will reiterate this scenario to our team and see what we can do.
Out of interest are you always on the card view when you create a defect? Or would supporting this function on a card wall also make sense to you?
Cheers
- Suzie
Suzie,
The current "add children" approach is also limited to Tree... It gives us no ability to pre-populate attributes (multiples if desired) on a new card that are known when you come from a parent card... Its also limited to the Trees, which if we opt to not use, makes it a non-viable solution.
My current use cases is: User is on a User Story Card and needs to create a Task under it... It would be nice if we could build a link/url that prepopulates the new task User Story Attribute, Assignee Attribute and Team attribute since that is know from the parent.
My approach will probably be to create a custom macro that allows me to build HTML links (<a>) that pull in Query values... Very similar to the 'Insert Value' macro but builds out a html hyperlink.
Paul.
In general most of our team members would be in a story card view or on a card wall when wanting to log a defect against a story or to create a task so I think being able to add from the card wall would be great as well.
Hey Simon and Paul
Thank you for your feedback and information. It is very useful to understand the use cases for this feature and will be used by the team when improving the product. We will certainly reach out to you for further information when we are looking again at this issue.
Thanks again. Please continue to share your thoughts with us.
Cheers!
Suzie
So I'm trying to build a custom Macro that will allow me to do what this post is about... Before I go into "Url param parsing" logic, does anyone know if its possible to call a built in macro (ex. value) from another macro (my own custom macro) ? If so, do you have a code sample?
Thanks for your help.
Paul,
There is not a supported way to do this, short of invoking the macro's code directly, but that woudn't be preferred. Which built-in macro do you want to re-use?
William,
Thanks for the response... I was looking to leverage the 'value' macro. I have something now that does a "similar" thing, so its not a big deal. Thanks for your response.
Please sign in to leave a comment.