You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hi,
In our company, there are multiple teams using JIRA and each of them have a Project name. When a defect is logged in JIRA, it is moved from one team to another by changing the Project name. Once the defect is fixed by a team, it is assigned back to the original project name.
Example: A defect is logged with project name as "A", and it is moved to project name "B" to fix, after fixing the defect, team from project "B" move it back to "A".
I'm trying to automate this process. But for that i need to know the originating project name.
i'm using the below code, which gives me the current value of the project name. But i need to get the original value of the project name to which i have to move back the defect.
print(issues.fields.project.name)
Is there a way to get the original value of the project name? ("A" in this case).
Is your "Jira Python" running inside Jira or externally, using the REST API?
Yes. It is inside Jira. We access it using an URL.
Just to be more clear, I'm trying to automate this using Jira package in Python.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm afraid these two sentences contradict each other:
"Yes. It is inside Jira. We access it using an URL. "
Is the code inside Jira or are you using a REST API (a URL) to get the data?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.