Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Two-Way-Sync #13

Open
azerbe opened this issue Nov 16, 2018 · 8 comments
Open

Feature Request: Two-Way-Sync #13

azerbe opened this issue Nov 16, 2018 · 8 comments

Comments

@azerbe
Copy link

azerbe commented Nov 16, 2018

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

  • not allowed to rename tasks
  • specific schema for task name required
  • ...
@syoung-quizlet
Copy link

Alternatively having it close any tasks that it doesn't find in JIRA would be useful.

@KingOfSpades
Copy link

KingOfSpades commented May 13, 2020

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?

@syoung-quizlet
Copy link

syoung-quizlet commented May 13, 2020 via email

@KingOfSpades
Copy link

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.

@KingOfSpades
Copy link

KingOfSpades commented May 26, 2020

@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

@syoung-quizlet
Copy link

syoung-quizlet commented May 26, 2020 via email

@syoung-quizlet
Copy link

syoung-quizlet commented May 26, 2020 via email

@KingOfSpades
Copy link

I added a PR but looking at the current status I don't think it will be merged

#16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants