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

How I can update the status column of item using label? #39

Closed
Nishant1507 opened this issue Jun 18, 2020 · 2 comments
Closed

How I can update the status column of item using label? #39

Nishant1507 opened this issue Jun 18, 2020 · 2 comments

Comments

@Nishant1507
Copy link

No description provided.

@Nishant1507 Nishant1507 changed the title How I can update the status column of item? How I can update the status column of item using label? Jun 18, 2020
@Nishant1507
Copy link
Author

I found it in the code moncli/tests/columnvalue_tests.py.

@Ashatz
Copy link
Contributor

Ashatz commented Jun 19, 2020

Hello @Nishant1507,

You can use the label property on a status column value object.
https://github.com/trix-solutions/moncli#statusvalue

So long as you retrieve the column value directly from the board (with column settings applied), the id will always match its corresponding set label. Then use the column value to update the item.

I am glad that you have found a resolution to your issue. If you run into another problem, don't hesitate to open an issue.

Thanks!

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

2 participants