Hello Team,
In structure we used sort by Attribute(Index) generators. but this is not beneficial.
Example:
suppose task with 1.2.2.1 is greater than 1.2.2.12 which is not correct in Ascending order.
Please suggest fruitful solution for this issue.
Thanks!
Hi, @Pavan. I think this post may be a duplicate of another, newer post? If so, I suggest you remove the new one and we keep the convo. going here. (If your question in the new post is related but different, ignore this comment).
In either case, at this stage, I urge you to reach out to ALM Works directly so we can help you more quickly. Then, we can post a reply here sharing the resolution with the rest community.
You can reach the ALM Works support team via support@almworks.com.
Best,
-dave
Hi Pavan,
Dmitrii with ALM Works here.
Could you clarify how can you tell that 1.2.2.1 is greater than 1.2.2.12? What value are you referring to?
Kind regards,
Dmitrii Kuzmin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes sure,
suppose in structure i have many issues.
we have multiple folders present in structure and we using Sequential Index effector to define the order of the issue inside structure.
Issue 1 with 1.2.2.1 sequential Index number
issue 2 with 1.2.2.1
.
.
issue 9 with 1.2.2.9
.
issue 12 with 1.2.2.12
sort by attribute can order the task till last one digit properly , once it becomes two digit , task 12 will arrange in the first.
After sort
eg:
issue12 with 1.2.2.12 come first
then issue1 with 1.2.2.1 come next
which is wrong
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
def indexFieldId = customFieldManager.getCustomFieldObjectByName("Index").getIdAsLong()
def SortByIndexParams = [
attribute: [
id: "customfield",
format: 'order',
params: [
fieldId:indexFieldId
]
]
]
def IndexSorterItem = generatorManager.createGenerator(CoreStructureGenerators.SORTER_ATTRIBUTE, SortByIndexParams as Map, null)
def sorterIndexGeneratorItem = CoreIdentities.generator(IndexSorterItem)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pavan,
We see that you've submitted a support request by e-mailing us at support@almworks.com, thank you for that.
We are taking a look at it right now. Further communication will happen in the ticket, stay tuned.
Kind regards,
Dmitrii
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.