Adaptavist workflow resolution and priority

tania_bernal_ssss_gouv_qc_ca March 14, 2019

Hi, 

I want to change resolution to done when priority is 'qwerty' 

But without change workflow.

Is it possible because I can but the workflow statut is done but i want to keek my present status

Thank you 

2 answers

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 14, 2019

You should always ensure your resolution is matched with your workflow, so this is actually quite a bad idea.  If you do this, you will end up with issues that say things like "open" and "done" at the same time, which is nonsense and confusing for users.

If you insist on doing this though, it is not too hard.  Write a Scripted Listener that picks up any event where the priority could be added or changed (create, update, transitions, etc) and updates the priority.

For a listener, I usually start at https://library.adaptavist.com/entity/update-the-value-of-a-custom-field-using-a-listener  and for changing priority instead of a custom field, borrow from https://library.adaptavist.com/entity/update-the-priority-of-an-issue-in-jira

tania_bernal_ssss_gouv_qc_ca March 14, 2019

Thank

0 votes
Jean-Théo [Adaptavist]
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 14, 2019

Hi @tania_bernal_ssss_gouv_qc_ca

If I understand well, you would like to change the resolution of all the issues that fit a certain criteria (filter)?

If that is the case, you can go to an issue search, create the filter that you need. In your case : "priority = 'qwerty'"

Then you can go to "Tools" in the top right and select "Bulk change"

Screen Shot 2019-03-14 at 9.40.15 AM.png

In the next screen, you can select all the issues with the checkbox at the top. Then you select Edit issues. 

In the next screen, you can set the resolution to what you wish (make sure to uncheck "Send mail for this update")

Hope this helps,

JT

Suggest an answer

Log in or Sign up to answer