Open azerbe opened 5 years ago
Alternatively having it close any tasks that it doesn't find in JIRA would be useful.
Alternatively having it close any tasks that it doesn't find in JIRA would be useful.
This works in Things3. When a task is completed in Jira it get's marked as done in my Things3 list. Does your setup behave different?
Interesting. I don’t believe mine is doing that. I’ll check.
Sean Young IT Manager @ Quizlet
On Wed, May 13 2020 at 4:34 AM, KingOfSpades < notifications@github.com > wrote:
Alternatively having it close any tasks that it doesn't find in JIRA would be useful.
This works in Things3. When a task is completed in Jira it get's marked as done in my Things3 list.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub ( https://github.com/hackerdude/jiratotaskmanagers/issues/13#issuecomment-627923517 ) , or unsubscribe ( https://github.com/notifications/unsubscribe-auth/AKMSMFWXKA6DWWNPPQUEXDDRRKASVANCNFSM4GEXLQBQ ).
I'm using this query to get some of my assignments:
assignee = currentUser() AND issuetype not in (Epic, story, Sub-task) AND createdDate >= -12w
The sync should close tickets with the following statuses:
JIRA_STATI_FOR_COMPLETED=["Resolved", "Rejected", "Closed"] # The status a completed JIRA project should have on your machine.
(I also added "Done" to my version). It looks like it's not closing "Resloved" tickets on my end.
@syoung-quizlet I found an issue where tickets that are Marked as 'Resolved' don't get markt as done because of the following snippet:
if (completed_stati.indexOf(task_status) > 0) {
if (VERBOSE) { console.log("Marking Done") }
things_task.status = 'completed'
Changed that to:
if (completed_stati.indexOf(task_status) >= 0) {
if (VERBOSE) { console.log("Marking Done") }
things_task.status = 'completed'
Thanks!
Sean Young IT Manager @ Quizlet
On Tue, May 26 2020 at 2:28 AM, KingOfSpades < notifications@github.com > wrote:
@syoung-quizlet ( https://github.com/syoung-quizlet ) I found an issue where tickets that are Marked as 'Resolved' don't get markt as done because of the following snippet:
if (completed_stati.indexOf(task_status) > 0) { if (VERBOSE) { console.log("Marking Done") } things_task.status = 'completed'
Changed that to:
if (completed_stati.indexOf(task_status) >= 0) { if (VERBOSE) { console.log("Marking Done") } things_task.status = 'completed'
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub ( https://github.com/hackerdude/jiratotaskmanagers/issues/13#issuecomment-633915252 ) , or unsubscribe ( https://github.com/notifications/unsubscribe-auth/AKMSMFV6IMGHGQGTFVOMJHTRTODTNANCNFSM4GEXLQBQ ).
Was this pushed to master? I don't see any new PRs?
Sean Young IT Manager @ Quizlet
On Tue, May 26, 2020 at 6:40 AM, Sean Young < sean.young@quizlet.com > wrote:
Thanks!
Sean Young IT Manager @ Quizlet
On Tue, May 26 2020 at 2:28 AM, KingOfSpades < notifications@ github. com ( notifications@github.com ) > wrote:
@ syoung-quizlet ( https://github.com/syoung-quizlet ) I found an issue where tickets that are Marked as 'Resolved' don't get markt as done because of the following snippet:
if (completed_stati.indexOf(task_status) > 0) { if (VERBOSE) { console.log("Marking Done") } things_task.status = 'completed'
Changed that to:
if (completed_stati.indexOf(task_status) >= 0) { if (VERBOSE) { console.log("Marking Done") } things_task.status = 'completed'
See: https:/ / github. com/ KingOfSpades/ jiratotaskmanagers/ blob/ Bugfix/ lib/ task_destinations/ add_to_things3. jxa ( https://github.com/KingOfSpades/jiratotaskmanagers/blob/Bugfix/lib/task_destinations/add_to_things3.jxa )
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub ( https://github.com/hackerdude/jiratotaskmanagers/issues/13#issuecomment-633915252 ) , or unsubscribe ( https://github.com/notifications/unsubscribe-auth/AKMSMFV6IMGHGQGTFVOMJHTRTODTNANCNFSM4GEXLQBQ ).
I added a PR but looking at the current status I don't think it will be merged
Right now I can sync from Jira to Things3. It would be a huge upgrade, if the status of the tasks I changed in Things3 would be updated in Jira as well.
I wouldn't mind, if there are restrictions like